Most visited

Recently visited

Added in API level 8

DatatypeConfigurationException

public class DatatypeConfigurationException
extends 异常

java.lang.Object
    java.lang.Throwable
      java.lang.Exception
        javax.xml.datatype.DatatypeConfigurationException


指示严重的配置错误。

摘要(Summary)

Public constructors

DatatypeConfigurationException()

创建一个新的 DatatypeConfigurationException ,没有指定的详细信息和原因。

DatatypeConfigurationException(String message)

用指定的详细信息创建一个新的 DatatypeConfigurationException

DatatypeConfigurationException(String message, Throwable cause)

用指定的详细信息和原因创建一个新的 DatatypeConfigurationException

DatatypeConfigurationException(Throwable cause)

用指定的原因创建一个新的 DatatypeConfigurationException

公共方法(Public methods)

void printStackTrace()

打印错误发生地点的方法跟踪。

void printStackTrace(PrintWriter s)

打印错误发生地点的方法跟踪。

void printStackTrace(PrintStream s)

打印错误发生地点的方法跟踪。

继承方法(Inherited methods)

From class java.lang.Throwable
From class java.lang.Object

Public constructors

DatatypeConfigurationException

Added in API level 8
DatatypeConfigurationException ()

创建一个没有指定详细信息和原因的新的 DatatypeConfigurationException

DatatypeConfigurationException

Added in API level 8
DatatypeConfigurationException (String message)

用指定的详细信息创建一个新的 DatatypeConfigurationException

参数(Parameters)
message String: The detail message.

DatatypeConfigurationException

Added in API level 8
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

Added in API level 8
DatatypeConfigurationException (Throwable cause)

用指定的原因创建一个新的 DatatypeConfigurationException

参数(Parameters)
cause Throwable: The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

公共方法(Public methods)

printStackTrace

Added in API level 8
void printStackTrace ()

打印错误发生地点的方法跟踪。 这将跟踪所有嵌套的异常对象以及此对象。

printStackTrace

Added in API level 8
void printStackTrace (PrintWriter s)

打印错误发生地点的方法跟踪。 这将跟踪所有嵌套的异常对象以及此对象。

参数(Parameters)
s PrintWriter: The writer where the dump will be sent to.

printStackTrace

Added in API level 8
void printStackTrace (PrintStream s)

打印错误发生地点的方法跟踪。 这将跟踪所有嵌套的异常对象以及此对象。

参数(Parameters)
s PrintStream: The stream where the dump will be sent to.

Hooray!