com.approximatrix.charting
Class EncodingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.approximatrix.charting.EncodingException
All Implemented Interfaces:
java.io.Serializable

public class EncodingException
extends java.lang.Exception

This class encapsulates all image encoding exceptions.

Author:
mueller
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable cause
           
 
Constructor Summary
EncodingException()
          Creates a new instance of EncodingException without detail message.
EncodingException(java.lang.String msg)
          Constructs an instance of EncodingException with the specified detail message.
EncodingException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an instance of EncodingException with the specified detail message and the specified cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the Throwable that caused the Exception to be thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cause

private java.lang.Throwable cause
Constructor Detail

EncodingException

public EncodingException()
Creates a new instance of EncodingException without detail message.


EncodingException

public EncodingException(java.lang.String msg)
Constructs an instance of EncodingException with the specified detail message.

Parameters:
msg - the detail message.

EncodingException

public EncodingException(java.lang.String msg,
                         java.lang.Throwable cause)
Constructs an instance of EncodingException with the specified detail message and the specified cause.

Parameters:
msg - the detail message.
cause - the Throwable that caused this Exception
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the Throwable that caused the Exception to be thrown.

Overrides:
getCause in class java.lang.Throwable