public final class POIXMLException
extends java.lang.RuntimeException
Constructor and Description |
---|
POIXMLException()
Create a new
POIXMLException with no detail mesage.
|
POIXMLException(java.lang.String msg)
Create a new
POIXMLException with the
String specified as an error message.
|
POIXMLException(java.lang.String msg, java.lang.Throwable cause)
Create a new
POIXMLException with the
String specified as an error message and the cause.
|
POIXMLException(java.lang.Throwable cause)
Create a new
POIXMLException with the specified cause.
|
public POIXMLException()
POIXMLException
with no detail mesage.
(创建一个没有详细消息的新 POIXMLException。)
public POIXMLException(java.lang.String msg)
POIXMLException
with the
String
specified as an error message.
(使用指定为错误消息的字符串创建一个新的 POIXMLException。)
msg
- The error message for the exception.
(msg - 异常的错误消息。)
public POIXMLException(java.lang.String msg, java.lang.Throwable cause)
POIXMLException
with the
String
specified as an error message and the cause.
(使用指定为错误消息的字符串和原因创建一个新的 POIXMLException。)
msg
- The error message for the exception.
(msg - 异常的错误消息。)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
(Cause - 原因(保存以供 Throwable.getCause() 方法稍后检索)。 (允许使用空值,表示原因不存在或未知。))
public POIXMLException(java.lang.Throwable cause)
POIXMLException
with the specified cause.
(使用指定的原因创建一个新的 POIXMLException。)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
(Cause - 原因(保存以供 Throwable.getCause() 方法稍后检索)。 (允许使用空值,表示原因不存在或未知。))
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.