JavaTM 2 Platform
Standard Ed. 6

javax.xml.transform
类 TransformerFactoryConfigurationError

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Error
          继承者 javax.xml.transform.TransformerFactoryConfigurationError
所有已实现的接口:
Serializable

public class TransformerFactoryConfigurationError
extends Error

当通过 Transformer Factories 进行的配置存在问题时抛出此异常。当找不到或不能实例化系统属性中指定的转换工厂类时,通常抛出此错误。

另请参见:
序列化表格

构造方法摘要
TransformerFactoryConfigurationError()
          创建不带详细消息的新 TransformerFactoryConfigurationError
TransformerFactoryConfigurationError(Exception e)
          创建带有错误的给定 Exception 基本原因的新 TransformerFactoryConfigurationError
TransformerFactoryConfigurationError(Exception e, String msg)
          创建带有给定 Exception 基本原因和详细消息的新 TransformerFactoryConfigurationError
TransformerFactoryConfigurationError(String msg)
          创建带有指定为错误消息的 String 的新 TransformerFactoryConfigurationError
 
方法摘要
 Exception getException()
          返回引发此异常的实际异常(如果有)。
 String getMessage()
          返回针对此错误的消息(如果有)。
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

TransformerFactoryConfigurationError

public TransformerFactoryConfigurationError()
创建不带详细消息的新 TransformerFactoryConfigurationError


TransformerFactoryConfigurationError

public TransformerFactoryConfigurationError(String msg)
创建带有指定为错误消息的 String 的新 TransformerFactoryConfigurationError

参数:
msg - 针对该异常的错误消息。

TransformerFactoryConfigurationError

public TransformerFactoryConfigurationError(Exception e)
创建带有错误的给定 Exception 基本原因的新 TransformerFactoryConfigurationError

参数:
e - 要封装在 TransformerFactoryConfigurationError 中的异常。

TransformerFactoryConfigurationError

public TransformerFactoryConfigurationError(Exception e,
                                            String msg)
创建带有给定 Exception 基本原因和详细消息的新 TransformerFactoryConfigurationError

参数:
e - 要封装在 TransformerFactoryConfigurationError 中的异常
msg - 详细消息。
方法详细信息

getMessage

public String getMessage()
返回针对此错误的消息(如果有)。如果存在此错误的消息而存在封装的异常,则返回该异常的消息。

覆盖:
Throwable 中的 getMessage
返回:
错误消息。

getException

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

返回:
封装的异常,如果没有,则返回 null。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only