|
||||||||||
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 | +--springs.util.SpringsException
A Springs exception.
Field Summary | |
private static java.lang.String |
_MSG_COMES_NESTED_EXCEPTION
A message to announce that what comes next is the trace of the nested exception. |
private java.lang.Throwable |
_nestedException
The nested exception wrapped inside. |
static boolean |
PRINT_NESTED_EXCEPTIONS
|
static boolean |
PRINT_ONLY_NESTED_EXCEPTIONS
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
SpringsException()
Constructor. |
|
SpringsException(java.lang.String msg)
Constructor. |
|
SpringsException(java.lang.String msg,
java.lang.Throwable t)
Constructor con mensaje explicativo y con excepción anterior. |
|
SpringsException(java.lang.Throwable t)
Constructor. |
Method Summary | |
java.lang.String |
getMessage()
Gets a message for the exception. |
java.lang.Throwable |
getNestedException()
Obtains the nested exception. |
void |
printStackTrace()
Prints the stack trace. |
void |
printStackTrace(java.io.PrintWriter s)
Prints the stack trace. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static boolean PRINT_NESTED_EXCEPTIONS
public static boolean PRINT_ONLY_NESTED_EXCEPTIONS
private static final java.lang.String _MSG_COMES_NESTED_EXCEPTION
String
,
Constant Field Valuesprivate java.lang.Throwable _nestedException
Throwable
Constructor Detail |
public SpringsException()
public SpringsException(java.lang.String msg)
msg
- an explanation.String
public SpringsException(java.lang.Throwable t)
t
- the nested exception.Throwable
public SpringsException(java.lang.String msg, java.lang.Throwable t)
msg
- an explanation.t
- the nested exception.String
,
Throwable
Method Detail |
public java.lang.Throwable getNestedException()
Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
String
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- where to write the trace.PrintWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |