模块 java.xml

类 TransformerConfigurationException

所有已实现的接口:
Serializable

public class TransformerConfigurationException extends TransformerException
表示严重的配置错误。
自从:
1.4
参见:
  • 构造方法详细信息

    • TransformerConfigurationException

      public TransformerConfigurationException()
      创建一个没有详细消息的新 TransformerConfigurationException
    • TransformerConfigurationException

      public TransformerConfigurationException(String  msg)
      使用指定为错误消息的 String 创建一个新的 TransformerConfigurationException
      参数:
      msg - 异常的错误消息。
    • TransformerConfigurationException

      public TransformerConfigurationException(Throwable  e)
      使用给定的 Exception 错误基本原因创建一个新的 TransformerConfigurationException
      参数:
      e - 要封装在 TransformerConfigurationException 中的异常。
    • TransformerConfigurationException

      public TransformerConfigurationException(String  msg, Throwable  e)
      使用给定的 Exception 基本原因和详细消息创建一个新的 TransformerConfigurationException
      参数:
      msg - 详细信息。
      e - 要封装在 TransformerConfigurationException 中的异常
    • TransformerConfigurationException

      public TransformerConfigurationException(String  message, SourceLocator  locator)
      从消息和定位器创建新的 TransformerConfigurationException。

      当应用程序从 DocumentHandler 回调中创建自己的异常时,此构造方法特别有用。

      参数:
      message - 错误或警告消息。
      locator - 错误或警告的定位器对象。
    • TransformerConfigurationException

      public TransformerConfigurationException(String  message, SourceLocator  locator, Throwable  e)
      将现有异常包装在 TransformerConfigurationException 中。
      参数:
      message - 错误或警告消息,或者为 null 以使用来自嵌入式异常的消息。
      locator - 错误或警告的定位器对象。
      e - 任何异常。