com.ibm.workplace.wcm.api.exceptions
Class DuplicateComponentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.workplace.wcm.api.exceptions.WCMException
|
+--com.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
| 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 |
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 exceptioncause - the exception that caused this exception