atg.commerce.order
Class DuplicateRelationshipException

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

public class DuplicateRelationshipException
extends CommerceException

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

See Also:
Serialized Form

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

DuplicateRelationshipException

public DuplicateRelationshipException()
Constructs a new DuplicateRelationshipException


DuplicateRelationshipException

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


DuplicateRelationshipException

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

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

DuplicateRelationshipException

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

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