org.apache.batik.transcoder

Class TranscoderException

public class TranscoderException extends Exception

Thrown when a transcoder is not able to transcode its input.
Field Summary
protected Exceptionex
The enclosed exception.
Constructor Summary
TranscoderException(String s)
Constructs a new transcoder exception with the specified detail message.
TranscoderException(Exception ex)
Constructs a new transcoder exception with the specified detail message.
TranscoderException(String s, Exception ex)
Constructs a new transcoder exception with the specified detail message.
Method Summary
ExceptiongetException()
Returns the original enclosed exception or null if any.
StringgetMessage()
Returns the message of this exception.

Field Detail

ex

protected Exception ex
The enclosed exception.

Constructor Detail

TranscoderException

public TranscoderException(String s)
Constructs a new transcoder exception with the specified detail message.

Parameters: s the detail message of this exception

TranscoderException

public TranscoderException(Exception ex)
Constructs a new transcoder exception with the specified detail message.

Parameters: ex the enclosed exception

TranscoderException

public TranscoderException(String s, Exception ex)
Constructs a new transcoder exception with the specified detail message.

Parameters: s the detail message of this exception ex the original exception

Method Detail

getException

public Exception getException()
Returns the original enclosed exception or null if any.

getMessage

public String getMessage()
Returns the message of this exception. If an error message has been specified, returns that one. Otherwise, return the error message of enclosed exception or null if any.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.