public class LatkaException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
protected java.lang.Exception |
_wrappedException
The original exception
|
Constructor and Description |
---|
LatkaException(java.lang.Exception e)
Wrapped exception.
|
LatkaException(java.lang.String message)
Standard exception constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected java.lang.Exception _wrappedException
public LatkaException(java.lang.String message)
message
- some text explaining the exceptionpublic LatkaException(java.lang.Exception e)
e
- exception to wrappublic java.lang.Exception getException()
public static void printWrappedExceptions(LatkaException e)
e
- LatkaException with wrapped messages.public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream to print topublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- the print writer to send output toCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.