|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.transcoder.DefaultErrorHandler
A default ErrorHandler that throws a TranscoderException when a fatal error occured and display a message when a warning or an error occured.
Constructor Summary | |
DefaultErrorHandler()
|
Method Summary | |
void |
error(TranscoderException ex)
Invoked when an error occured while transcoding. |
void |
fatalError(TranscoderException ex)
Invoked when an fatal error occured while transcoding. |
void |
warning(TranscoderException ex)
Invoked when a warning occured while transcoding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultErrorHandler()
Method Detail |
public void error(TranscoderException ex) throws TranscoderException
error
in interface ErrorHandler
ex
- the error informations encapsulated in a TranscoderExceptionTranscoderException
- if the method want to forward
the exceptionpublic void fatalError(TranscoderException ex) throws TranscoderException
fatalError
in interface ErrorHandler
ex
- the fatal error informations encapsulated in a
TranscoderExceptionTranscoderException
- if the method want to forward
the exceptionpublic void warning(TranscoderException ex) throws TranscoderException
warning
in interface ErrorHandler
ex
- the warning informations encapsulated in a TranscoderExceptionTranscoderException
- if the method want to forward
the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |