org.orbeon.oxf.common
Class OXFException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.orbeon.oxf.common.OXFException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ValidationException
- public class OXFException
- extends RuntimeException
- See Also:
- Serialized Form
OXFException
public OXFException(String message)
OXFException
public OXFException(Throwable throwable)
OXFException
public OXFException(String message,
Throwable throwable)
getNestedException
public static Throwable getNestedException(Throwable t)
- Returns the exception directly nested in
e
.
getStackTraceElements
public static OXFException.StackTraceElement[] getStackTraceElements(Throwable t)
- Return the stack trace of a throwable.
This method uses introspection. It will return null on Java versions
prior to 1.4.
getRootThrowable
public static Throwable getRootThrowable(Throwable e)
- Get exception at the source of the problem.
getNestedException
public Throwable getNestedException()
printStackTrace
public void printStackTrace(PrintStream s)
printStackTrace
public void printStackTrace()
getMessage
public String getMessage()