com.retek.component.customer
Class InvalidCustomerException

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

public class InvalidCustomerException
extends BusinessException

This exception class represents the exception thrown when the CustomerSubmitValidator fails (customer is invalid or is missing required data).

See Also:
Serialized Form

Constructor Summary
InvalidCustomerException(java.lang.String messageBundle, java.lang.String messageKey)
          Creates a new InvalidCustomerException object that specifies the location of the messages properties file, along with a key used to look up the message.
InvalidCustomerException(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, getMessageBundle, getMessageKey, getMessageValues, 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

InvalidCustomerException

public InvalidCustomerException(java.lang.String messageBundle,
                                java.lang.String messageKey)
Creates a new InvalidCustomerException 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.

InvalidCustomerException

public InvalidCustomerException(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 © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25