FileDocCategorySizeDatePackage
TransformerFactoryConfigurationError.javaAPI DocJava SE 5 API2814Fri Aug 26 14:58:24 BST 2005javax.xml.transform

TransformerFactoryConfigurationError

public class TransformerFactoryConfigurationError extends Error
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.

Fields Summary
private Exception
exception
Exception for the TransformerFactoryConfigurationError.
Constructors Summary
public TransformerFactoryConfigurationError()
Create a new TransformerFactoryConfigurationError with no detail mesage.


        super();

        this.exception = null;
    
public TransformerFactoryConfigurationError(String msg)
Create a new TransformerFactoryConfigurationError with the String specified as an error message.

param
msg The error message for the exception.


        super(msg);

        this.exception = null;
    
public TransformerFactoryConfigurationError(Exception e)
Create a new TransformerFactoryConfigurationError with a given Exception base cause of the error.

param
e The exception to be encapsulated in a TransformerFactoryConfigurationError.


        super(e.toString());

        this.exception = e;
    
public TransformerFactoryConfigurationError(Exception e, String msg)
Create a new TransformerFactoryConfigurationError with the given Exception base cause and detail message.

param
e The exception to be encapsulated in a TransformerFactoryConfigurationError
param
msg The detail message.


        super(msg);

        this.exception = e;
    
Methods Summary
public java.lang.ExceptiongetException()
Return the actual exception (if any) that caused this exception to be raised.

return
The encapsulated exception, or null if there is none.

        return exception;
    
public java.lang.StringgetMessage()
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.

return
The error message.


        String message = super.getMessage();

        if ((message == null) && (exception != null)) {
            return exception.getMessage();
        }

        return message;