public class NestedZipException extends ZipException implements NestedException, ExceptionDelegateSupport
| 构造器和说明 |
|---|
NestedZipException(Object message,
Object... args) |
NestedZipException(Throwable e) |
NestedZipException(Throwable e,
Object message,
Object... args) |
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause()
获取最原始的那个异常对象
|
NestedExceptionDelegate |
getDelegate()
获取 Exception Delegate
|
String |
getMessage() |
StackTraceElement[] |
getStackTrace() |
String |
getStackTraceStr() |
void |
printStackTrace() |
void |
printStackTrace(PrintStream err) |
void |
printStackTrace(PrintWriter err) |
String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getSuppressed, initCause, setStackTracepublic NestedZipException(Object message, Object... args)
message - 自定义错误信息args - 占位符参数--[ 变长参数,用于替换message字符串里面的占位符"{}" ]public NestedZipException(Throwable e)
e - public String getStackTraceStr()
getStackTraceStr 在接口中 NestedExceptionpublic String getMessage()
getMessage 在类中 Throwablepublic void printStackTrace()
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintWriter err)
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintStream err)
printStackTrace 在类中 Throwablepublic StackTraceElement[] getStackTrace()
getStackTrace 在类中 Throwablepublic NestedExceptionDelegate getDelegate()
ExceptionDelegateSupportgetDelegate 在接口中 ExceptionDelegateSupportCopyright © 2018 jretty-org. All rights reserved.