|
|||||||||
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 | +--org.apache.cocoon.components.elementprocessor.CannotCreateElementProcessorException
Exception to be thrown when an ElementProcessor cannot be created.
Constructor Summary | |
CannotCreateElementProcessorException(java.lang.String reason)
Constructor |
Method Summary | |
java.lang.String |
getMessage()
override of Throwable's getMessage; allows us to format it with the element name |
void |
setElementName(java.lang.String name)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 CannotCreateElementProcessorException(java.lang.String reason)
reason
- a simple explanation why the specified
ElementProcessor could not be created.Method Detail |
public void setElementName(java.lang.String name)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |