Class DefaultErrorHandler
java.lang.Object
org.apache.batik.transcoder.DefaultErrorHandler
- All Implemented Interfaces:
ErrorHandler
A default
ErrorHandler that throws a
TranscoderException when a fatal error occured and display
a message when a warning or an error occured.- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when an error occured while transcoding.voidInvoked when an fatal error occured while transcoding.voidInvoked when a warning occured while transcoding.
-
Constructor Details
-
DefaultErrorHandler
public DefaultErrorHandler()
-
-
Method Details
-
error
Invoked when an error occured while transcoding.- Specified by:
errorin interfaceErrorHandler- Parameters:
ex- the error informations encapsulated in a TranscoderException- Throws:
TranscoderException- if the method want to forward the exception
-
fatalError
Invoked when an fatal error occured while transcoding.- Specified by:
fatalErrorin interfaceErrorHandler- Parameters:
ex- the fatal error informations encapsulated in a TranscoderException- Throws:
TranscoderException- if the method want to forward the exception
-
warning
Invoked when a warning occured while transcoding.- Specified by:
warningin interfaceErrorHandler- Parameters:
ex- the warning informations encapsulated in a TranscoderException- Throws:
TranscoderException- if the method want to forward the exception
-