de.bea.domingo
Class DNotesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.bea.domingo.DNotesException
All Implemented Interfaces:
CascadingThrowable, java.io.Serializable
Direct Known Subclasses:
MapperRegistrationException, MappingException, NotesHttpException, NotesProxyException, NotesServiceException, ThreadPoolException

public class DNotesException
extends java.lang.Exception
implements CascadingThrowable

Exception thrown from the domingo API.

Author:
Kurt Riede
See Also:
Serialized Form

Constructor Summary
DNotesException(java.lang.String message)
          Construct a new DNotesException instance.
DNotesException(java.lang.String message, java.lang.Throwable cause)
          Construct a new DNotesException instance.
DNotesException(java.lang.Throwable cause)
          Construct a new DNotesException 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

DNotesException

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

Parameters:
message - The detail message for this exception.

DNotesException

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

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

DNotesException

public DNotesException(java.lang.String message,
                       java.lang.Throwable cause)
Construct a new DNotesException 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