de.bea.domingo.exception
Interface CascadingThrowable

All Known Implementing Classes:
DNotesException, DNotesRuntimeException, MapperRegistrationException, MappingException, MethodNotFoundException, NotesHttpException, NotesHttpRuntimeException, NotesProxyException, NotesProxyRuntimeException, NotesServiceException, NotesServiceRuntimeException, ThreadPoolException

public interface CascadingThrowable

An interface to be implemented by Throwable extensions which would like to be able to cascade root exceptions inside themselves.


Method Summary
 java.lang.Throwable getCause()
          Returns the reference to the exception or error that caused the exception.
 void printPartialStackTrace(java.io.PrintWriter out)
          Prints the stack trace for this exception only--root cause not included--using the provided writer.
 

Method Detail

getCause

java.lang.Throwable getCause()
Returns the reference to the exception or error that caused the exception.

Returns:
throwable that caused the original exception

printPartialStackTrace

void printPartialStackTrace(java.io.PrintWriter out)
Prints the stack trace for this exception only--root cause not included--using the provided writer. Used by ExceptionUtil to write individual stack traces to a buffer. The implementation of this method should call super.printStackTrace(out); in most cases.

Parameters:
out - The writer to use.


Domingo Java-API