com.ibm.workplace.wcm.api.exceptions
Class DuplicateChildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
com.ibm.workplace.wcm.api.exceptions.DuplicateChildException
- All Implemented Interfaces:
- java.io.Serializable
public class DuplicateChildException
- extends WCMException
A DuplicateChildException is thrown if attempting to
add a child Document to a parent that already considers
that this, or another Document with the same name to be its child.
This exception may occur when creating document hierarchies such as
adding a SiteArea as the child of a Site.
- See Also:
- Serialized Form
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 |
DuplicateChildException
public DuplicateChildException()
- Constructor.
DuplicateChildException
public DuplicateChildException(java.lang.String msg)
- Constructs a new exception with the given message.
- Parameters:
- msg - the message
DuplicateChildException
public DuplicateChildException(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