public class InvalidPaymentException extends InvalidDataException
This exception is thrown when the related Payment is not at the desired status.
Constructor and Description |
---|
InvalidPaymentException()
This method is a default Constructor.
|
InvalidPaymentException(java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText)
This method is a constructor with a localized message.
|
InvalidPaymentException(java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText,
java.lang.Throwable exception)
This method is a constructor with a localized message and a chained exception.
|
InvalidPaymentException(java.lang.Throwable exception)
This method is a constructor with a chained exception.
|
dumpException, getInvalidAttributeName, getInvalidAttributeType, getInvalidAttributeValue, setInvalidAttributeName, setInvalidAttributeType, setInvalidAttributeValue
addProperties, addProperties, addProperty, getClassSource, getDefaultMessage, getFormatArguments, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getMethodSource, getPreviousException, getProperties, getResourceBundleName, setClassSource, setDefaultMessage, setFormatArguments, setMessageKey, setMethodSource, setPreviousException, setProperties, setResourceBundleName
public InvalidPaymentException()
This method is a default Constructor.
public InvalidPaymentException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
This method is a constructor with a localized message.
resourceBundleName
- The name of the resource bundle to be used to
generate a localized exception message.messageKey
- The key to identify the resource to
generate a localized exception.formatArguments
- An array of arguments to build the localized
message.defaultText
- The message that is shown if the localized
message cannot be generated.public InvalidPaymentException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
This method is a constructor with a localized message and a chained exception.
resourceBundleName
- The name of the resource bundle to be used to
generate a localized exception message.messageKey
- The key to identify the resource to generate
a localized exception.formatArguments
- An array of arguments to build the localized
message.defaultText
- The message that is shown if the localized
message cannot be generated.exception
- The exception to be chained.public InvalidPaymentException(java.lang.Throwable exception)
This method is a constructor with a chained exception.
exception
- The exception to be chained.