APIdia Launch Partner
Top Description Fields Constructors Methods
javax.xml.stream

public Class FactoryConfigurationError

extends Error
Class Inheritance

An error class for reporting factory configuration errors.
Author
Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
Since
1.6
Version
1.0

Field Summary

Modifier and TypeField and Description
pack-priv Exception
private static final long

Constructor Summary

AccessConstructor and Description
public
FactoryConfigurationError()

Default constructor

public
FactoryConfigurationError(Exception
the exception to nest
e
)

Construct an exception with a nested inner exception

public
FactoryConfigurationError(Exception
the exception to nest
e
,
String
the message to report
msg
)

Construct an exception with a nested inner exception and a message

public
FactoryConfigurationError(String
the message to report
msg
,
Exception
the exception to nest
e
)

Construct an exception with a nested inner exception and a message

public
FactoryConfigurationError(String
the message to report
msg
)

Construct an exception with associated message

Method Summary

Modifier and TypeMethod and Description
public Throwable
getCause()

Overrides java.lang.Throwable.getCause.

use the exception chaining mechanism of JDK1.4

public Exception

Returns:

the nested exception or null
getException
()

Return the nested exception (if any)

public String

Returns:

the string value of the message
getMessage
()

Overrides java.lang.Throwable.getMessage.

Report the message associated with this error

Field Detail

nestedback to summary
pack-priv Exception nested
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Error.serialVersionUID.

Constructor Detail

FactoryConfigurationErrorback to summary
public FactoryConfigurationError()

Default constructor

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(Exception e)

Construct an exception with a nested inner exception

Parameters
e:Exception

the exception to nest

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(Exception e, String msg)

Construct an exception with a nested inner exception and a message

Parameters
e:Exception

the exception to nest

msg:String

the message to report

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(String msg, Exception e)

Construct an exception with a nested inner exception and a message

Parameters
msg:String

the message to report

e:Exception

the exception to nest

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(String msg)

Construct an exception with associated message

Parameters
msg:String

the message to report

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

use the exception chaining mechanism of JDK1.4

Annotations
@Override
getExceptionback to summary
public Exception getException()

Return the nested exception (if any)

Returns:Exception

the nested exception or null

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Report the message associated with this error

Returns:String

the string value of the message