com.ibm.workplace.wcm.api.exceptions
Class IllegalDocumentTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.workplace.wcm.api.exceptions.WCMException
com.ibm.workplace.wcm.api.exceptions.IllegalDocumentTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class IllegalDocumentTypeException
- extends WCMException
An IllegalDocumentTypeException is thrown if an
object is not of the expected type.
- 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 |
IllegalDocumentTypeException
public IllegalDocumentTypeException()
- Constructor.
IllegalDocumentTypeException
public IllegalDocumentTypeException(java.lang.String msg)
- Constructs a new exception with the given message.
- Parameters:
- msg - the message
IllegalDocumentTypeException
public IllegalDocumentTypeException(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