atg.commerce.claimable
Class ClaimableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.commerce.CommerceException
                  extended by atg.commerce.claimable.ClaimableException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class ClaimableException
extends CommerceException

Exception that represents a general failure in the Claimable system.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ClaimableException()
          Constructs a new ClaimableException
ClaimableException(java.lang.String pStr)
          Constructs a new ClaimableException with the given explanation.
ClaimableException(java.lang.String pErrorCode, java.lang.String pStr)
          Constructs a new ClaimableException with the given explanation.
ClaimableException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructs a new ClaimableException with the given explanation.
ClaimableException(java.lang.Throwable pSourceException)
          Constructs a new ClaimableException.
 
Method Summary
 java.lang.String getErrorCode()
          The key that was used to get the message in the exception.
 void setErrorCode(java.lang.String pErrorCode)
           
 
Methods inherited from class atg.core.exception.ContainerException
getMessageArguments, getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setMessageArguments, setSourceException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ClaimableException

public ClaimableException()
Constructs a new ClaimableException


ClaimableException

public ClaimableException(java.lang.String pStr)
Constructs a new ClaimableException with the given explanation.


ClaimableException

public ClaimableException(java.lang.String pErrorCode,
                          java.lang.String pStr)
Constructs a new ClaimableException with the given explanation.

Parameters:
pErrorCode - The key used to get pStr
pStr - The message describing the problem

ClaimableException

public ClaimableException(java.lang.Throwable pSourceException)
Constructs a new ClaimableException.

Parameters:
pSourceException - the initial exception which was the root cause of the problem

ClaimableException

public ClaimableException(java.lang.String pStr,
                          java.lang.Throwable pSourceException)
Constructs a new ClaimableException with the given explanation.

Parameters:
pStr - an explanation of the exception
pSourceException - the initial exception which was the root cause of the problem
Method Detail

setErrorCode

public void setErrorCode(java.lang.String pErrorCode)

getErrorCode

public java.lang.String getErrorCode()
The key that was used to get the message in the exception.