public class DatatypeConfigurationException
extends 异常
| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | javax.xml.datatype.DatatypeConfigurationException | ||
指示严重的配置错误。
Public constructors |
|
|---|---|
DatatypeConfigurationException() 创建一个新的 |
|
DatatypeConfigurationException(String message) 用指定的详细信息创建一个新的 |
|
DatatypeConfigurationException(String message, Throwable cause) 用指定的详细信息和原因创建一个新的 |
|
DatatypeConfigurationException(Throwable cause) 用指定的原因创建一个新的 |
|
Public methods |
|
|---|---|
void |
printStackTrace() 打印错误发生地点的方法跟踪。 |
void |
printStackTrace(PrintWriter s) 打印错误发生地点的方法跟踪。 |
void |
printStackTrace(PrintStream s) 打印错误发生地点的方法跟踪。 |
Inherited methods |
|
|---|---|
java.lang.Throwable
|
|
java.lang.Object
|
|
DatatypeConfigurationException ()
创建一个没有指定详细信息和原因的新的 DatatypeConfigurationException 。
DatatypeConfigurationException (String message)
用指定的详细信息创建一个新的 DatatypeConfigurationException 。
| Parameters | |
|---|---|
message |
String: The detail message. |
DatatypeConfigurationException (String message, Throwable cause)
用指定的详细信息和原因创建一个新的 DatatypeConfigurationException 。
| Parameters | |
|---|---|
message |
String: The detail message. |
cause |
Throwable: The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
DatatypeConfigurationException (Throwable cause)
用指定的原因创建一个新的 DatatypeConfigurationException 。
| Parameters | |
|---|---|
cause |
Throwable: The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
void printStackTrace (PrintWriter s)
打印错误发生地点的方法跟踪。 这将跟踪所有嵌套的异常对象以及此对象。
| Parameters | |
|---|---|
s |
PrintWriter: The writer where the dump will be sent to. |
void printStackTrace (PrintStream s)
打印错误发生地点的方法跟踪。 这将跟踪所有嵌套的异常对象以及此对象。
| Parameters | |
|---|---|
s |
PrintStream: The stream where the dump will be sent to. |