APIdia Launch Partner
Top Description Constructors Methods
jdk.xml.internal

public Class TransformErrorListener

extends Object
implements ErrorListener
Class Inheritance
All Implemented Interfaces
javax.xml.transform.ErrorListener
Imports
javax.xml.transform.ErrorListener, .TransformerException

Implements an ErrorListener for use by the JDK as the default ErrorListener. For compatibility, this implementation retains the behavior as was implemented by TransformerFactoryImpl and TransformerImpl where both the error and fatalError methods re-throw the exception.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
error(TransformerException
The error information encapsulated in a TransformerException.
e
)

Implements javax.xml.transform.ErrorListener.error.

Receives notification of an error.

public void
fatalError(TransformerException
The error information encapsulated in a TransformerException.
e
)

Implements javax.xml.transform.ErrorListener.fatalError.

Receives notification of a fatal error.

public void
warning(TransformerException
The warning information encapsulated in a TransformerException.
e
)

Implements javax.xml.transform.ErrorListener.warning.

Receives notification of a warning.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TransformErrorListenerback to summary
public TransformErrorListener()

Method Detail

errorback to summary
public void error(TransformerException e) throws TransformerException

Implements javax.xml.transform.ErrorListener.error.

Receives notification of an error. The transformer may continue the process if the error is recoverable. It may decide not to if it can not continue after the error.

Parameters
e:TransformerException

The error information encapsulated in a TransformerException.

Annotations
@Override
Exceptions
TransformerException:
re-throws the exception.
fatalErrorback to summary
public void fatalError(TransformerException e) throws TransformerException

Implements javax.xml.transform.ErrorListener.fatalError.

Receives notification of a fatal error.

Parameters
e:TransformerException

The error information encapsulated in a TransformerException.

Annotations
@Override
Exceptions
TransformerException:
re-throws the exception.
warningback to summary
public void warning(TransformerException e) throws TransformerException

Implements javax.xml.transform.ErrorListener.warning.

Receives notification of a warning.

Parameters
e:TransformerException

The warning information encapsulated in a TransformerException.

Annotations
@Override
Exceptions
TransformerException:
not thrown in this implementation