Package org.apache.batik.transcoder
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: DefaultErrorHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an error occured while transcoding.void
Invoked when an fatal error occured while transcoding.void
Invoked when a warning occured while transcoding.
-
Constructor Details
-
DefaultErrorHandler
public DefaultErrorHandler()
-
-
Method Details
-
error
Invoked when an error occured while transcoding.- Specified by:
error
in 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:
fatalError
in 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:
warning
in interfaceErrorHandler
- Parameters:
ex
- the warning informations encapsulated in a TranscoderException- Throws:
TranscoderException
- if the method want to forward the exception
-