com.ibm.portal.state.exceptions
Class DocumentModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.portal.state.exceptions.StateException
com.ibm.portal.state.exceptions.DocumentModelException
- All Implemented Interfaces:
- Localized, java.io.Serializable
- Direct Known Subclasses:
- CannotCloneDocumentModelException, CannotCreateDocumentException
-
public abstract class DocumentModelException
- extends StateException
Base exception for document model-related exceptions. Should be
sub-classed by specific document model exceptions.
- Since:
- 5.1
- See Also:
- Serialized Form
Field Summary
|
protected DocumentModel |
model
Reference to the model that caused the exception |
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 |
model
protected final DocumentModel model
- Reference to the model that caused the exception
DocumentModelException
public DocumentModelException(DocumentModel aModel)
- Initialized the exception with a reference to the model that caused it
- Parameters:
- aModel - Model that caused the exception (must not be null)
DocumentModelException
public DocumentModelException(DocumentModel aModel,
java.lang.Exception aReason)
- Initialized the exception with a reference to the model that caused it
- Parameters:
- aModel - Model that caused the exception (must not be null)
- aReason - Exception that provides details on the reason of failure (must not be null)