FactoryConfigurationError (Java EE 5)

Java EE API


javax.xml.stream Class FactoryConfigurationError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by javax.xml.stream.FactoryConfigurationError
All Implemented Interfaces:
Serializable

public class FactoryConfigurationError
extends Error

Extends: Throwable > Error

一个用于报告工厂配置错误的错误类。
英文文档:

An error class for reporting factory configuration errors.

Version:
1.0
Author:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.
See Also:
Serialized Form

Constructor Summary
 
Method Summary
 Exception
 String
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public FactoryConfigurationError()
默认构造方法。
英文文档:

FactoryConfigurationError

public FactoryConfigurationError()
Default constructor


public FactoryConfigurationError(Exception e)
构造具有嵌套内部异常的异常。
e 要嵌套的异常
英文文档:

FactoryConfigurationError

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

Parameters:
e - the exception to nest


public FactoryConfigurationError(Exception e, String msg)
构造具有嵌套内部异常和消息的异常。
e 要嵌套的异常
msg 要报告的消息
英文文档:

FactoryConfigurationError

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

Parameters:
e - the exception to nest
msg - the message to report


public FactoryConfigurationError(String msg, Exception e)
构造具有嵌套内部异常和消息的异常。
msg 要报告的消息
e 要嵌套的异常
英文文档:

FactoryConfigurationError

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

Parameters:
msg - the message to report
e - the exception to nest


public FactoryConfigurationError(String msg)
构造具有关联消息的异常。
e 要嵌套的异常
msg 要报告的消息
英文文档:

FactoryConfigurationError

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

Parameters:
e - the exception to nest
msg - the message to report

Method Detail

public Exception getException()
返回嵌套异常(如果有)。
return 嵌套异常或 null
英文文档:

getException

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

Returns:
the nested exception or null

public String getMessage()
报告与此错误关联的消息。
return 消息的字符串值
英文文档:

getMessage

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

Overrides:
getMessage in class Throwable
Returns:
the string value of the message


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!