|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sf.exorcist.api.ContentException
public class ContentException
Exception for reporting problems within Exorcist plugins. A ContentException is thrown by an Exorcist plugin when some external reason prevents the plugin from performing its task. Examples of such reasons are:
Runtime problems such as missing dependencies, out of memory errors, and
internal logic problems (null pointers, etc.) should be reported using
standard RuntimeExceptions
and Errors
.
Constructor Summary | |
---|---|
ContentException(java.lang.String message)
Creates a ContentException with the given error message. |
|
ContentException(java.lang.String message,
java.lang.Throwable cause)
Creates a ContentException with the given error message and root cause. |
|
ContentException(java.lang.Throwable cause)
Creates a ContentException with the given root cause. |
Method Summary |
---|
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 |
Constructor Detail |
---|
public ContentException(java.lang.String message)
message
- error messagepublic ContentException(java.lang.Throwable cause)
cause
- root cause of this exceptionpublic ContentException(java.lang.String message, java.lang.Throwable cause)
message
- error messagecause
- root cause of this exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |