atg.commerce.gifts
Class InvalidGiftParameterException

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.gifts.InvalidGiftParameterException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class InvalidGiftParameterException
extends CommerceException

This class represents an exception that is thrown when an invalid argument is passed into a method call.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
InvalidGiftParameterException()
          Constructs a new InvalidGiftParameterException
InvalidGiftParameterException(java.lang.String pStr)
          Constructs a new InvalidGiftParameterException with the given explanation.
InvalidGiftParameterException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructs a new InvalidGiftParameterException with the given explanation.
InvalidGiftParameterException(java.lang.Throwable pSourceException)
          Constructs a new InvalidGiftParameterException.
 
Method Summary
 
Methods inherited from class atg.core.exception.ContainerException
getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, 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

InvalidGiftParameterException

public InvalidGiftParameterException()
Constructs a new InvalidGiftParameterException


InvalidGiftParameterException

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


InvalidGiftParameterException

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

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

InvalidGiftParameterException

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

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