public class DNotesException extends Exception implements CascadingThrowable
| Constructor and Description |
|---|
DNotesException(String message)
Construct a new
DNotesException instance. |
DNotesException(String message,
Throwable cause)
Construct a new
DNotesException instance. |
DNotesException(Throwable cause)
Construct a new
DNotesException instance. |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Returns the detail error that caused the exception.
|
String |
getMessage() |
void |
printPartialStackTrace(PrintWriter out)
Prints the stack trace for this exception only--root cause not
included--using the provided writer.
|
void |
printStackTrace() |
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic DNotesException(String message)
DNotesException instance.message - The detail message for this exception.public DNotesException(Throwable cause)
DNotesException instance.cause - the cause of this throwable or null if the
cause is nonexistent or unknown.public final Throwable getCause()
getCause in interface CascadingThrowablegetCause in class Throwablenull if the
cause is nonexistent or unknown.Throwable.getCause()public final String getMessage()
getMessage in class ThrowableThrowable.getMessage()public final void printStackTrace()
printStackTrace in class ThrowableThrowable.printStackTrace()public final void printStackTrace(PrintStream out)
printStackTrace in class ThrowableThrowable.printStackTrace(java.io.PrintStream)public final void printStackTrace(PrintWriter out)
printStackTrace in class ThrowableThrowable.printStackTrace(java.io.PrintWriter)public final void printPartialStackTrace(PrintWriter out)
ExceptionUtil to write
individual stack traces to a buffer. The implementation of this method
should call super.printStackTrace(out); in most cases.printPartialStackTrace in interface CascadingThrowableout - The writer to use.CascadingThrowable.printPartialStackTrace(java.io.PrintWriter)Copyright © 2005–2020. All rights reserved.