atg.commerce.order
Class DuplicateCommerceItemException

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

public class DuplicateCommerceItemException
extends CommerceException

This class represents an exception that is thrown when a CommerceItem which already exists in a CommerceItemContainer is added.

See Also:
Serialized Form

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

DuplicateCommerceItemException

public DuplicateCommerceItemException()
Constructs a new DuplicateCommerceItemException


DuplicateCommerceItemException

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


DuplicateCommerceItemException

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

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

DuplicateCommerceItemException

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

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