public class NestableRuntimeException extends RuntimeException implements Nestable
| Modifier and Type | Field and Description |
|---|---|
protected NestableDelegate |
delegate |
| Constructor and Description |
|---|
NestableRuntimeException() |
NestableRuntimeException(String msg) |
NestableRuntimeException(String msg,
Throwable cause) |
NestableRuntimeException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
String |
getMessage() |
String |
getMessage(int index) |
String[] |
getMessages() |
Throwable |
getThrowable(int index) |
int |
getThrowableCount() |
Throwable[] |
getThrowables() |
int |
indexOfThrowable(Class type) |
int |
indexOfThrowable(Class type,
int fromIndex) |
void |
printPartialStackTrace(PrintWriter out) |
void |
printStackTrace() |
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringprotected NestableDelegate delegate
public NestableRuntimeException()
public NestableRuntimeException(String msg)
public NestableRuntimeException(Throwable cause)
public Throwable getCause()
public String getMessage()
getMessage in interface NestablegetMessage in class Throwablepublic String getMessage(int index)
getMessage in interface Nestablepublic String[] getMessages()
getMessages in interface Nestablepublic Throwable getThrowable(int index)
getThrowable in interface Nestablepublic int getThrowableCount()
getThrowableCount in interface Nestablepublic Throwable[] getThrowables()
getThrowables in interface Nestablepublic int indexOfThrowable(Class type)
indexOfThrowable in interface Nestablepublic int indexOfThrowable(Class type, int fromIndex)
indexOfThrowable in interface Nestablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream out)
printStackTrace in interface NestableprintStackTrace in class Throwablepublic void printStackTrace(PrintWriter out)
printStackTrace in interface NestableprintStackTrace in class Throwablepublic final void printPartialStackTrace(PrintWriter out)
printPartialStackTrace in interface NestableCopyright © 2016 jufeng. All rights reserved.