com.ibm.workplace.wcm.api.exceptions
Class DuplicateComponentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.workplace.wcm.api.exceptions.WCMException
              extended bycom.ibm.workplace.wcm.api.exceptions.DuplicateComponentException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateComponentException
extends WCMException

A DuplicateComponentException is thrown if the API user attempts to add a component with the same name as an existing component.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement
 
Fields inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
ERR_APTRIX
 
Constructor Summary
DuplicateComponentException()
          Constructor.
DuplicateComponentException(java.lang.String msg)
          Constructs a new exception with the given message.
DuplicateComponentException(java.lang.String detail, java.lang.Throwable cause)
          Constructor that requires detail plus a cause exception
 
Methods inherited from class com.ibm.workplace.wcm.api.exceptions.WCMException
getCause, getErrorCode, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright statement

See Also:
Constant Field Values
Constructor Detail

DuplicateComponentException

public DuplicateComponentException()
Constructor.


DuplicateComponentException

public DuplicateComponentException(java.lang.String msg)
Constructs a new exception with the given message.

Parameters:
msg - the message

DuplicateComponentException

public DuplicateComponentException(java.lang.String detail,
                                   java.lang.Throwable cause)
Constructor that requires detail plus a cause exception

Parameters:
detail - a message description extra information about the exception
cause - the exception that caused this exception