|
||||||||||
| 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.displaytag.exception.BaseNestableRuntimeException
public abstract class BaseNestableRuntimeException
Base runtime exception: extendes RuntimeException providing logging and exception nesting functionalities.
| Constructor Summary | |
|---|---|
BaseNestableRuntimeException(java.lang.Class source,
java.lang.String message)
Instantiate a new BaseNestableRuntimeException. |
|
BaseNestableRuntimeException(java.lang.Class source,
java.lang.String message,
java.lang.Throwable cause)
Instantiate a new BaseNestableRuntimeException. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
returns the previous exception. |
abstract SeverityEnum |
getSeverity()
subclasses need to define the getSeverity method to provide correct severity for logging. |
java.lang.String |
toString()
basic toString. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseNestableRuntimeException(java.lang.Class source,
java.lang.String message)
source - Class where the exception is generatedmessage - message
public BaseNestableRuntimeException(java.lang.Class source,
java.lang.String message,
java.lang.Throwable cause)
source - Class where the exception is generatedmessage - messagecause - previous Exception| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwablepublic abstract SeverityEnum getSeverity()
SeverityEnum
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||