com.ptc.windchill.structconf.util
Class NestableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ptc.windchill.structconf.util.NestableException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- StructConfManagerException, XconfException
- public class NestableException
- extends Exception
An exception that can nest other exceptions and will report causation if
the printStackTrace(...) methods or getFullMessage()
are used.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
throwable_
private Throwable throwable_
NestableException
protected NestableException(String message)
- Create with just a message and no causing throwable.
NestableException
protected NestableException(String message,
Throwable cause)
- Create with a message and a causing throwable.
NestableException
protected NestableException(Throwable cause)
- Create with just a causing throwable.
getCause
public Throwable getCause()
- The throwable that caused this exception to be thrown.
- Returns:
- possibly null if was created with no causing throwable
getFullMessage
public String getFullMessage()
- A message including the messages of all causing throwables.
printStackTrace
public void printStackTrace()
printStackTrace
public void printStackTrace(PrintStream s)
printStackTrace
public void printStackTrace(PrintWriter s)