public class DNotesRuntimeException extends RuntimeException implements CascadingThrowable
| Constructor and Description |
|---|
DNotesRuntimeException(String message)
Construct a new
DNotesRuntimeException instance. |
DNotesRuntimeException(String message,
Throwable cause)
Construct a new
DNotesRuntimeException instance. |
DNotesRuntimeException(Throwable cause)
Construct a new
DNotesRuntimeException 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 DNotesRuntimeException(String message)
DNotesRuntimeException instance.message - The detail message for this exception.public DNotesRuntimeException(Throwable cause)
DNotesRuntimeException 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.