FactoryConfigurationError (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.stream Class FactoryConfigurationError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by javax.xml.stream.FactoryConfigurationError
所有已实现的接口:
Serializable

public class FactoryConfigurationError
extends Error

An error class for reporting factory configuration errors.

版本:
1.0
作者:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
另请参见:
Serialized Form

构造器摘要
FactoryConfigurationError()
          Default constructor
FactoryConfigurationError(Exception e)
          Construct an exception with a nested inner exception
FactoryConfigurationError(Exception e, String msg)
          Construct an exception with a nested inner exception and a message
FactoryConfigurationError(String msg)
          Construct an exception with associated message
FactoryConfigurationError(String msg, Exception e)
          Construct an exception with a nested inner exception and a message
 
方法摘要
 Exception getException()
          Return the nested exception (if any)
 String getMessage()
          Report the message associated with this error
 
类方法继承 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
 

构造器详细信息

FactoryConfigurationError

public FactoryConfigurationError()
Default constructor


FactoryConfigurationError

public FactoryConfigurationError(Exception e)
Construct an exception with a nested inner exception

参数:
e - the exception to nest


FactoryConfigurationError

public FactoryConfigurationError(Exception e,
                                 String msg)
Construct an exception with a nested inner exception and a message

参数:
e - the exception to nest
msg - the message to report


FactoryConfigurationError

public FactoryConfigurationError(String msg,
                                 Exception e)
Construct an exception with a nested inner exception and a message

参数:
msg - the message to report
e - the exception to nest


FactoryConfigurationError

public FactoryConfigurationError(String msg)
Construct an exception with associated message

参数:
e - the exception to nest
msg - the message to report

方法详细信息

getException

public Exception getException()
Return the nested exception (if any)

返回:
the nested exception or null

getMessage

public String getMessage()
Report the message associated with this error

重写:
getMessage in class Throwable
返回:
the string value of the message

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.