AI-generated Key Takeaways
-
TransformerFactoryConfigurationErrorsignals a configuration issue with Transformer Factories, often due to an unfound or uninstantiable factory class. -
This error extends the
Errorclass and provides constructors to include detailed error messages and underlying exceptions. -
It offers methods like
getExceptionto retrieve the root cause andgetMessageto access the error description. -
Several constructors allow for creating instances with varying levels of detail, including messages and underlying exceptions.
-
The error can arise from issues like an incorrect system property specifying the transformation factory class.
Thrown when a problem with configuration with the Transformer Factories exists. This error will typically be thrown when the class of a transformation factory specified in the system properties cannot be found or instantiated.
Public Constructor Summary
|
TransformerFactoryConfigurationError()
Create a new
TransformerFactoryConfigurationError with no
detail message. |
|
|
TransformerFactoryConfigurationError(String msg)
Create a new
TransformerFactoryConfigurationError with
the String specified as an error message. |
|
|
TransformerFactoryConfigurationError(Exception e)
Create a new
TransformerFactoryConfigurationError with a
given Exception base cause of the error. |
|
|
TransformerFactoryConfigurationError(Exception e, String msg)
Create a new
TransformerFactoryConfigurationError with the
given Exception base cause and detail message. |
Public Method Summary
| Exception |
getException()
Return the actual exception (if any) that caused this exception to
be raised.
|
| String |
getMessage()
Return the message (if any) for this error .
|
Inherited Method Summary
Public Constructors
public TransformerFactoryConfigurationError ()
Create a new TransformerFactoryConfigurationError with no
detail message.
public TransformerFactoryConfigurationError (String msg)
Create a new TransformerFactoryConfigurationError with
the String specified as an error message.
Parameters
| msg | The error message for the exception. |
|---|
public TransformerFactoryConfigurationError (Exception e)
Create a new TransformerFactoryConfigurationError with a
given Exception base cause of the error.
Parameters
| e | The exception to be encapsulated in a TransformerFactoryConfigurationError. |
|---|
Public Methods
public Exception getException ()
Return the actual exception (if any) that caused this exception to be raised.
Returns
- The encapsulated exception, or null if there is none.
public String 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 will be returned.
Returns
- The error message.