public class TransformerConfigurationException
extends TransformerException
| java.lang.Object | ||||
| java.lang.Throwable | ||||
| java.lang.Exception | ||||
| javax.xml.transform.TransformerException | ||||
| javax.xml.transform.TransformerConfigurationException | ||||
指示严重的配置错误。
Public constructors |
|
|---|---|
TransformerConfigurationException() 创建一个新的 |
|
TransformerConfigurationException(String msg) 创建一个新的 |
|
TransformerConfigurationException(Throwable e) 用给定的 |
|
TransformerConfigurationException(String msg, Throwable e) 用给定的 |
|
TransformerConfigurationException(String message, SourceLocator locator) 从消息和定位器创建一个新的TransformerConfigurationException。 |
|
TransformerConfigurationException(String message, SourceLocator locator, Throwable e) 在TransformerConfigurationException中包装现有异常。 |
|
继承方法(Inherited methods) |
|
|---|---|
javax.xml.transform.TransformerException
|
|
java.lang.Throwable
|
|
java.lang.Object
|
|
TransformerConfigurationException ()
创建一个新的 TransformerConfigurationException ,没有详细信息。
TransformerConfigurationException (String msg)
创建一个新的 TransformerConfigurationException ,并指定 String作为错误消息。
| 参数(Parameters) | |
|---|---|
msg |
String: The error message for the exception. |
TransformerConfigurationException (Throwable e)
用给定的 异常错误的基本原因创建一个新的 TransformerConfigurationException 。
| 参数(Parameters) | |
|---|---|
e |
Throwable: The exception to be encapsulated in a TransformerConfigurationException. |
TransformerConfigurationException (String msg, Throwable e)
用给定的 异常基本原因和详细信息创建一个新的 TransformerConfigurationException 。
| 参数(Parameters) | |
|---|---|
msg |
String: The detail message. |
e |
Throwable: The exception to be encapsulated in a TransformerConfigurationException |
TransformerConfigurationException (String message, SourceLocator locator)
从消息和定位器创建一个新的TransformerConfigurationException。
当应用程序在DocumentHandler回调中创建自己的异常时,此构造函数特别有用。
| 参数(Parameters) | |
|---|---|
message |
String: The error or warning message. |
locator |
SourceLocator: The locator object for the error or warning. |
TransformerConfigurationException (String message, SourceLocator locator, Throwable e)
在TransformerConfigurationException中包装现有异常。
| 参数(Parameters) | |
|---|---|
message |
String: The error or warning message, or null to use the message from the embedded exception. |
locator |
SourceLocator: The locator object for the error or warning. |
e |
Throwable: Any exception. |