com.elasticpath.domain
Class EpDomainException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.elasticpath.commons.exception.EpSystemException
                  extended by com.elasticpath.domain.EpDomainException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AmountLimitExceededException, CardDeclinedException, CardErrorException, CardExpiredException, CatalogViewRequestUnmatchException, InsufficientFundException, InvalidAddressException, PaymentGatewayException

public class EpDomainException
extends EpSystemException

The generic exception class for the com.elasticpath.domain package.

See Also:
Serialized Form

Constructor Summary
EpDomainException(java.lang.String message)
          Creates a new EpDomainException object with the given message.
EpDomainException(java.lang.String message, java.lang.Throwable cause)
          Creates a new EpDomainException object using the given message and cause exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EpDomainException

public EpDomainException(java.lang.String message)
Creates a new EpDomainException object with the given message.

Parameters:
message - the reason for this EpDomainException.

EpDomainException

public EpDomainException(java.lang.String message,
                         java.lang.Throwable cause)
Creates a new EpDomainException object using the given message and cause exception.

Parameters:
message - the reason for this EpDomainException.
cause - the Throwable that caused this EpDomainException.