public class XMLCombinerFactoryConfigurationError extends DeltaXMLError
This class is used to indicate an error in the configuration of a XMLCombiner factory. Such errors may include:
Note that this class ultimately extends from java.lang.Error
(because it is not expected to occur
in normal use) and thus does not need to be declared in method throws clauses.
Many, if not all, uses of this Error will be caused by other Errors or Exceptions being thrown. The wrapped Exceptions should
be checked using methods such as DeltaXMLError.getThrowable()
.
Constructor and Description |
---|
XMLCombinerFactoryConfigurationError(java.lang.Exception e)
Construct a new error which wraps another exception.
|
XMLCombinerFactoryConfigurationError(java.lang.String message)
Construct a new error with the specified detail message.
|
XMLCombinerFactoryConfigurationError(java.lang.String msg,
java.lang.Exception e)
Construct a new error which wraps another exception and which also supplies an additional detail message.
|
getCause, getThrowable
public XMLCombinerFactoryConfigurationError(java.lang.String message)
Construct a new error with the specified detail message.
message
- The error message reported with the exception.public XMLCombinerFactoryConfigurationError(java.lang.Exception e)
Construct a new error which wraps another exception. The wrapped exception is often the base cause of the
exception. By wrapping the exception its detail message and stack trace can be obtained after calling
getException()
e
- The exception to wrap.DeltaXMLError.getThrowable()
public XMLCombinerFactoryConfigurationError(java.lang.String msg, java.lang.Exception e)
Construct a new error which wraps another exception and which also supplies an additional detail message.
The new detail message can be obtained viagetMessage()
whilst the detail message of the wrapped exception or
error can be obtained via getException().getMessage()
e
- The exception to wrap.msg
- The new or additional message reported with the error.Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.