com.ibm.portal.state.exceptions
Class CannotCloneDocumentModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.state.exceptions.StateException
com.ibm.portal.state.exceptions.DocumentModelException
com.ibm.portal.state.exceptions.CannotCloneDocumentModelException
- All Implemented Interfaces:
- Localized, Constants, java.io.Serializable
- Direct Known Subclasses:
- InvalidConstantException
-
public abstract class CannotCloneDocumentModelException
- extends DocumentModelException
- implements Constants
Exception representing the error case that a given DocumentModel
cannot be cloned (e.g. during URL generation).
- Since:
- 5.1
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected final Constants.Clone type
- Type of the clone operation that failed
CannotCloneDocumentModelException
public CannotCloneDocumentModelException(Constants.Clone aType)
- Initializes the exception with the model that could not be cloned and the exception
that describes the reason for this failure.
- Parameters:
- aType - Type of the clone operation that failed (@see Constants)
CannotCloneDocumentModelException
public CannotCloneDocumentModelException(DocumentModel aModel,
Constants.Clone aType,
java.lang.Exception aReason)
- Initializes the exception with the model that could not be cloned and the exception
that describes the reason for this failure.
- Parameters:
- aModel - Document model that should have been cloned
- aType - Type of the clone operation that failed (@see Constants)
- aReason - Reason for the failure of the clone operation