com.retek.component.customer
Class InvalidCustomerTelephoneException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.retek.commons.domain.core.exception.BusinessException
              extended bycom.retek.component.customer.InvalidCustomerTelephoneException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCustomerTelephoneException
extends BusinessException

This exception class represents the exception thrown when an invalid customer telephone number is added to a customer or inactivated on a customer. Possible reasons for failure: *number format is incorrect *if inactivating, customer must have at least one active telephone

See Also:
Serialized Form

Constructor Summary
InvalidCustomerTelephoneException(java.lang.String messageBundle, java.lang.String messageKey)
          Creates a new InvalidCustomerTelephoneException object that specifies the location of the messages properties file, along with a key used to look up the message.
InvalidCustomerTelephoneException(java.lang.String messageBundle, java.lang.String messageKey, java.lang.Object[] messageValues)
          Adds the messageValues parameter.
 
Methods inherited from class com.retek.commons.domain.core.exception.BusinessException
add, addAll, getMaxSeverity, getMessage, getProblems, hasErrors, hasProblems, hasProblems, printStackTrace, printStackTrace, printStackTrace, throwIfErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidCustomerTelephoneException

public InvalidCustomerTelephoneException(java.lang.String messageBundle,
                                         java.lang.String messageKey)
Creates a new InvalidCustomerTelephoneException object that specifies the location of the messages properties file, along with a key used to look up the message.

Parameters:
messageBundle - - This is the path to the messages.properties file where the actual text message is retrieved by key.
messageKey - - This is the key used to retrieve the text message from the properties file.

InvalidCustomerTelephoneException

public InvalidCustomerTelephoneException(java.lang.String messageBundle,
                                         java.lang.String messageKey,
                                         java.lang.Object[] messageValues)
Adds the messageValues parameter.

Parameters:
messageValues - - Used to specify dynamic, runtime data for the text of the message. The order of the values in this array represents the order of replacement in the message.


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28