javax.xml.parsers.FactoryConfigurationError
Represents an error that occured during the configuration of parser factory.
Summary
Public Constructors
Public Methods
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
FactoryConfigurationError()
Creates a new FactoryConfigurationError with no error message an no
cause.
public
FactoryConfigurationError(Exception cause)
Creates a new FactoryConfigurationError with no error message and a given
cause.
Parameters
cause
| The cause of the error. Note that the nested
exception will be stored in a special attribute, and can be
queried using the getException() method. It does not use the
facility the Exception class provides for storing nested
exceptions, since the XML API predates that facility.
|
public
FactoryConfigurationError(Exception cause, String message)
Creates a new FactoryConfigurationError with a given error message and
cause.
Parameters
cause
| The cause of the error. Note that the nested
exception will be stored in a special attribute, and can be
queried using the getException() method. It does not use the
facility the Exception class provides for storing nested
exceptions, since the XML API predates that facility. |
message
| The error message.
|
public
FactoryConfigurationError(String message)
Creates a new FactoryConfigurationError with a given error message and no
cause.
Parameters
message
| The error message.
|
Public Methods
public
Exception
getException()
Returns the cause of the error, in case there is one.
Returns
- The exception that caused the error, or null if none is set.
public
String
getMessage()
Returns the message of the error, in case there is one.
Returns
- The message. If an explicit error message has been assigned to
the exception, this one is returned. If not, and there is an
underlying exception (the cause), then the result of invoking
toString() for that is returned. Otherwise, null is returned.