public class ChainedRuntimeException extends RuntimeException implements ChainedThrowable
| 构造器和说明 |
|---|
ChainedRuntimeException()
����һ���յ��쳣.
|
ChainedRuntimeException(String message)
����һ���쳣, ָ���쳣����ϸ��Ϣ.
|
ChainedRuntimeException(String message,
Throwable cause)
����һ���쳣, ָ����������쳣������.
|
ChainedRuntimeException(Throwable cause)
����һ���쳣, ָ����������쳣������.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause()
ȡ����������쳣������.
|
void |
printCurrentStackTrace(PrintWriter writer)
��ӡ�쳣�ĵ���ջ, �����������쳣����Ϣ.
|
void |
printStackTrace()
��ӡ����ջ��������.
|
void |
printStackTrace(PrintStream stream)
��ӡ����ջ��ָ�������.
|
void |
printStackTrace(PrintWriter writer)
��ӡ����ջ��ָ�������.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic ChainedRuntimeException()
public ChainedRuntimeException(String message)
public ChainedRuntimeException(Throwable cause)
public Throwable getCause()
getCause 在接口中 ChainedThrowablegetCause 在类中 Throwablepublic void printStackTrace()
printStackTrace 在接口中 ChainedThrowableprintStackTrace 在类中 Throwablepublic void printStackTrace(PrintStream stream)
printStackTrace 在接口中 ChainedThrowableprintStackTrace 在类中 Throwablepublic void printStackTrace(PrintWriter writer)
printStackTrace 在接口中 ChainedThrowableprintStackTrace 在类中 Throwablepublic void printCurrentStackTrace(PrintWriter writer)
printCurrentStackTrace 在接口中 ChainedThrowableCopyright © 2018. All rights reserved.