Most visited

Recently visited

Added in API level 8

TransformerFactoryConfigurationError

public class TransformerFactoryConfigurationError
extends Error

java.lang.Object
    java.lang.Throwable
      java.lang.Error
        javax.xml.transform.TransformerFactoryConfigurationError


当存在与变压器工厂配置有关的问题时引发。 当系统属性中指定的转换工厂的类无法找到或实例化时,通常会引发此错误。

摘要(Summary)

Public constructors

TransformerFactoryConfigurationError()

创建一个新的 TransformerFactoryConfigurationError ,没有详细信息。

TransformerFactoryConfigurationError(String msg)

创建一个新的 TransformerFactoryConfigurationError ,并指定 String作为错误消息。

TransformerFactoryConfigurationError(异常 e)

用给定的 异常错误的基本原因创建一个新的 TransformerFactoryConfigurationError

TransformerFactoryConfigurationError(异常 e, String msg)

用给定的 异常基本原因和详细信息创建一个新的 TransformerFactoryConfigurationError

公共方法(Public methods)

异常 getException()

返回引发此异常的实际异常(如果有的话)。

String getMessage()

返回此错误的消息(如果有)。

继承方法(Inherited methods)

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

Public constructors

TransformerFactoryConfigurationError

Added in API level 8
TransformerFactoryConfigurationError ()

创建一个新的 TransformerFactoryConfigurationError ,没有详细信息。

TransformerFactoryConfigurationError

Added in API level 8
TransformerFactoryConfigurationError (String msg)

创建一个新的 TransformerFactoryConfigurationError ,并指定 String作为错误消息。

参数(Parameters)
msg String: The error message for the exception.

TransformerFactoryConfigurationError

Added in API level 8
TransformerFactoryConfigurationError (异常 e)

用给定的 异常错误的基本原因创建一个新的 TransformerFactoryConfigurationError

参数(Parameters)
e 异常: The exception to be encapsulated in a TransformerFactoryConfigurationError.

TransformerFactoryConfigurationError

Added in API level 8
TransformerFactoryConfigurationError (异常 e, 
                String msg)

用给定的 异常基本原因和详细信息创建一个新的 TransformerFactoryConfigurationError

参数(Parameters)
e 异常: The exception to be encapsulated in a TransformerFactoryConfigurationError
msg String: The detail message.

公共方法(Public methods)

getException

Added in API level 8
异常 getException ()

返回引发此异常的实际异常(如果有的话)。

返回(Returns)
异常 The encapsulated exception, or null if there is none.

getMessage

Added in API level 8
String getMessage ()

返回此错误的消息(如果有)。 如果没有任何异常消息并且存在封装异常,那么将返回该异常的消息。

返回(Returns)
String The error message.

Hooray!