Class ConversionException

All Implemented Interfaces:
Serializable

public class ConversionException extends RuntimeException

A ConversionException indicates that a call to Converter.convert() has failed to complete successfully.

Since:
1.3
Version:
$Id$
See Also:
  • Field Details

    • cause

      protected Throwable cause
      The root cause of this ConversionException, compatible with JDK 1.4's extensions to java.lang.Throwable.
  • Constructor Details

    • ConversionException

      public ConversionException(String message)
      Construct a new exception with the specified message.
      Parameters:
      message - The message describing this exception
    • ConversionException

      public ConversionException(String message, Throwable cause)
      Construct a new exception with the specified message and root cause.
      Parameters:
      message - The message describing this exception
      cause - The root cause of this exception
    • ConversionException

      public ConversionException(Throwable cause)
      Construct a new exception with the specified root cause.
      Parameters:
      cause - The root cause of this exception
  • Method Details

    • getCause

      public Throwable getCause()
      Return the root cause of this conversion exception.
      Overrides:
      getCause in class Throwable
      Returns:
      the root cause of this conversion exception