| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.rimfaxe.thread.ReportingException
ReportingException | public class ReportingException extends Exception (Code) | | Default base class for all exceptions.
|
Constructor Summary | |
public | ReportingException(String aMessage) Constructs a ReportingException with message of the value passed through
the constructor. |
Method Summary | |
public Throwable | getNestedException() Gets the stored nested exception. | public String | getTrace() the getTrace method returns a String value containing
the stack trace for this exception. | public void | printStackTrace() the printStackTrace method outputs the stack trace to System.out
this overrides the method printStackTrace from Exception. | public void | printStackTrace(OutputStream aOutputStream) the printStackTrace method outputs the stack trace to aOutputStream
this overrides the method printStackTrace from Exception. | public synchronized void | put(String aName, Object aValue) the put method inserts name value pairs into the given exception. |
ReportingException | public ReportingException(String aMessage)(Code) | | Constructs a ReportingException with message of the value passed through
the constructor.
|
getNestedException | public Throwable getNestedException()(Code) | | Gets the stored nested exception.
This method is very useful to the ExceptionHandler which needs to know the entire stack of exceptions.
nested exception |
getTrace | public String getTrace()(Code) | | the getTrace method returns a String value containing
the stack trace for this exception. This does not use getStackTrace
which is now implemented in Java 1.4
String containing stack trace. |
printStackTrace | public void printStackTrace()(Code) | | the printStackTrace method outputs the stack trace to System.out
this overrides the method printStackTrace from Exception.
|
printStackTrace | public void printStackTrace(OutputStream aOutputStream)(Code) | | the printStackTrace method outputs the stack trace to aOutputStream
this overrides the method printStackTrace from Exception.
Parameters: aKey - string. |
put | public synchronized void put(String aName, Object aValue)(Code) | | the put method inserts name value pairs into the given exception. These values
should be passed parameters within the method and also other values of interest.
This method nests ReportingExceptions and stores other Exception values as their stack trace.
Parameters: aName - is a name String Parameters: aValue - is a value String |
|
|
|