public class

ConversionException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.commons.beanutils.ConversionException

Class Overview

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

Summary

Fields
protected Throwable cause The root cause of this ConversionException, compatible with JDK 1.4's extensions to java.lang.Throwable.
Public Constructors
ConversionException(String message)
Construct a new exception with the specified message.
ConversionException(String message, Throwable cause)
Construct a new exception with the specified message and root cause.
ConversionException(Throwable cause)
Construct a new exception with the specified root cause.
Public Methods
Throwable getCause()
Return the root cause of this conversion exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Fields

protected Throwable cause

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

Public Constructors

public ConversionException (String message)

Construct a new exception with the specified message.

Parameters
message The message describing this exception

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

public ConversionException (Throwable cause)

Construct a new exception with the specified root cause.

Parameters
cause The root cause of this exception

Public Methods

public Throwable getCause ()

Return the root cause of this conversion exception.

Returns
  • the root cause of this conversion exception