|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.stream Class FactoryConfigurationError
java.lang.Object java.lang.Throwable java.lang.Error javax.xml.stream.FactoryConfigurationError
- All Implemented Interfaces:
- Serializable
public class FactoryConfigurationError
- extends Error
Extends:
Throwable > Error
一个用于报告工厂配置错误的错误类。
version | 1.0 |
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 | |
---|---|
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 |
Method Summary | |
---|---|
Exception |
getException()
Return the nested exception (if any) |
String |
getMessage()
Report the message associated with this error |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 nestmsg
- 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 reporte
- 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 nestmsg
- 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 classThrowable
- Returns:
- the string value of the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!