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

public Class FactoryConfigurationError

extends Error
Class Inheritance

Thrown when a problem with configuration with the Parser Factories exists. This error will typically be thrown when the class of a parser factory specified in the system properties cannot be found or instantiated.
Author
Jeff Suttor
Since
1.4

Field Summary

Modifier and TypeField and Description
private Exception
private static final long

Constructor Summary

AccessConstructor and Description
public
FactoryConfigurationError()

Create a new FactoryConfigurationError with no detail message.

public
FactoryConfigurationError(String
The error message for the exception.
msg
)

Create a new FactoryConfigurationError with the String specified as an error message.

public
FactoryConfigurationError(Exception
The exception to be encapsulated in a FactoryConfigurationError.
e
)

Create a new FactoryConfigurationError with a given Exception base cause of the error.

public
FactoryConfigurationError(Exception
The exception to be encapsulated in a FactoryConfigurationError
e
,
String
The detail message.
msg
)

Create a new FactoryConfigurationError with the given Exception base cause and detail 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 encapsulated exception, or null if there is none.
getException
()

Return the actual exception (if any) that caused this exception to be raised.

public String

Returns:

The error message.
getMessage
()

Overrides java.lang.Throwable.getMessage.

Return the message (if any) for this error .

Field Detail

exceptionback to summary
private Exception exception
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Error.serialVersionUID.

Constructor Detail

FactoryConfigurationErrorback to summary
public FactoryConfigurationError()

Create a new FactoryConfigurationError with no detail message.

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(String msg)

Create a new FactoryConfigurationError with the String specified as an error message.

Parameters
msg:String

The error message for the exception.

FactoryConfigurationErrorback to summary
public FactoryConfigurationError(Exception e)

Create a new FactoryConfigurationError with a given Exception base cause of the error.

Parameters
e:Exception

The exception to be encapsulated in a FactoryConfigurationError.

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

Create a new FactoryConfigurationError with the given Exception base cause and detail message.

Parameters
e:Exception

The exception to be encapsulated in a FactoryConfigurationError

msg:String

The detail message.

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 actual exception (if any) that caused this exception to be raised.

Returns:Exception

The encapsulated exception, or null if there is none.

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Return the message (if any) for this error . If there is no message for the exception and there is an encapsulated exception then the message of that exception, if it exists will be returned. Else the name of the encapsulated exception will be returned.

Returns:String

The error message.