|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.aspectwerkz.exception.DefinitionException
Thrown when error in definition.
Constructor Summary | |
DefinitionException(String message)
Sets the message for the exception. |
|
DefinitionException(String message,
Throwable throwable)
Sets the message for the exception and the original exception being wrapped. |
Method Summary | |
void |
printStackTrace()
Print the full stack trace, including the original exception. |
void |
printStackTrace(PrintStream ps)
Print the full stack trace, including the original exception. |
void |
printStackTrace(PrintWriter pw)
Print the full stack trace, including the original exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefinitionException(String message)
message
- the messagepublic DefinitionException(String message, Throwable throwable)
message
- the detail of the error messagethrowable
- the original exceptionMethod Detail |
public void printStackTrace()
public void printStackTrace(PrintStream ps)
ps
- the byte stream in which to print the stack tracepublic void printStackTrace(PrintWriter pw)
pw
- the character stream in which to print the stack trace
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |