atg.commerce.gifts
Class InvalidGiftTypeException

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

public class InvalidGiftTypeException
extends CommerceException

This class represents an exception that is thrown when a non-existent relationship type is set in a relationship object.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
InvalidGiftTypeException()
          Constructs a new InvalidGiftTypeException
InvalidGiftTypeException(java.lang.String pStr)
          Constructs a new InvalidGiftTypeException with the given explanation.
InvalidGiftTypeException(java.lang.String pStr, java.lang.Throwable pSourceException)
          Constructs a new InvalidGiftTypeException with the given explanation.
InvalidGiftTypeException(java.lang.Throwable pSourceException)
          Constructs a new InvalidGiftTypeException.
 
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

InvalidGiftTypeException

public InvalidGiftTypeException()
Constructs a new InvalidGiftTypeException


InvalidGiftTypeException

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


InvalidGiftTypeException

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

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

InvalidGiftTypeException

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

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