de.bea.domingo
Class DNotesRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.bea.domingo.DNotesRuntimeException
All Implemented Interfaces:
CascadingThrowable, java.io.Serializable
Direct Known Subclasses:
NotesHttpRuntimeException, NotesProxyRuntimeException, NotesServiceRuntimeException

public class DNotesRuntimeException
extends java.lang.RuntimeException
implements CascadingThrowable

Runtime exception thrown from the domingo API.

Author:
Kurt Riede
See Also:
Serialized Form

Constructor Summary
DNotesRuntimeException(java.lang.String message)
          Construct a new DNotesRuntimeException instance.
DNotesRuntimeException(java.lang.String message, java.lang.Throwable cause)
          Construct a new DNotesRuntimeException instance.
DNotesRuntimeException(java.lang.Throwable cause)
          Construct a new DNotesRuntimeException instance.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the detail error that caused the exception.
 java.lang.String getMessage()
          
 void printPartialStackTrace(java.io.PrintWriter out)
          Prints the stack trace for this exception only--root cause not included--using the provided writer.
 void printStackTrace()
          
 void printStackTrace(java.io.PrintStream out)
          
 void printStackTrace(java.io.PrintWriter out)
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DNotesRuntimeException

public DNotesRuntimeException(java.lang.String message)
Construct a new DNotesRuntimeException instance.

Parameters:
message - The detail message for this exception.

DNotesRuntimeException

public DNotesRuntimeException(java.lang.Throwable cause)
Construct a new DNotesRuntimeException instance.

Parameters:
cause - the cause of this throwable or null if the cause is nonexistent or unknown.

DNotesRuntimeException

public DNotesRuntimeException(java.lang.String message,
                              java.lang.Throwable cause)
Construct a new DNotesRuntimeException instance.

Parameters:
message - The detail message for this exception.
cause - the cause of this throwable or null if the cause is nonexistent or unknown.
Method Detail

getCause

public final java.lang.Throwable getCause()
Returns the detail error that caused the exception.

Specified by:
getCause in interface CascadingThrowable
Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.
See Also:
Throwable.getCause()

getMessage

public final java.lang.String getMessage()

Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()

printStackTrace

public final void printStackTrace()

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace()

printStackTrace

public final void printStackTrace(java.io.PrintStream out)

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public final void printStackTrace(java.io.PrintWriter out)

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)

printPartialStackTrace

public final 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.

Specified by:
printPartialStackTrace in interface CascadingThrowable
Parameters:
out - The writer to use.
See Also:
CascadingThrowable.printPartialStackTrace(java.io.PrintWriter)


Domingo Java-API