|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.latka.LatkaException
Latka throws this exception to the client whenever a problem occurs that is not covered by one of the standard JDK exceptions (validation errors, SAX problems, etc.)
| Field Summary | |
protected java.lang.Exception |
_wrappedException
The original exception |
| Constructor Summary | |
LatkaException(java.lang.Exception e)
Wrapped exception. |
|
LatkaException(java.lang.String message)
Standard exception constructor |
|
| Method Summary | |
java.lang.Exception |
getException()
Get a wrapped exception |
void |
printStackTrace()
provide wrapped exception details |
void |
printStackTrace(java.io.PrintStream s)
provide wrapped exception details |
void |
printStackTrace(java.io.PrintWriter s)
Print wrapped exception details, if any |
static void |
printWrappedExceptions(LatkaException e)
Print a wrapped exception to stdout and, in the case of SAXExceptions, an additional wrapped 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 |
| Field Detail |
protected java.lang.Exception _wrappedException
| Constructor Detail |
public LatkaException(java.lang.String message)
message - some text explaining the exceptionpublic LatkaException(java.lang.Exception e)
e - exception to wrap| Method Detail |
public java.lang.Exception getException()
public static void printWrappedExceptions(LatkaException e)
e - LatkaException with wrapped messages.public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s - PrintStream to print topublic void printStackTrace(java.io.PrintWriter s)
s - the print writer to send output to
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||