|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jas.util.NestedException
public class NestedException
Constructor Summary | |
---|---|
NestedException()
Create a remote exception |
|
NestedException(String s)
Create a remote exception with the specified string |
|
NestedException(String s,
Throwable ex)
Create a remote exception with the specified string, and the exception specified. |
Method Summary | |
---|---|
static String |
formatNestedException(HasNestedException t)
|
String |
getMessage()
Produce the message, include the message from the nested exception if there is one. |
Throwable |
getNestedException()
|
String |
getSimpleMessage()
Return just the super classes message |
void |
printStackTrace()
|
void |
printStackTrace(PrintStream s)
|
void |
printStackTrace(PrintWriter s)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NestedException()
public NestedException(String s)
public NestedException(String s, Throwable ex)
Method Detail |
---|
public Throwable getNestedException()
getNestedException
in interface HasNestedException
public String getMessage()
getMessage
in interface HasNestedException
getMessage
in class Throwable
public String getSimpleMessage()
getSimpleMessage
in interface HasNestedException
public static String formatNestedException(HasNestedException t)
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |