org.apache.commons.beanutils

Class ConversionException


public class ConversionException
extends RuntimeException

A ConversionException indicates that a call to Converter.convert() has failed to complete successfully.
Authors:
Craig McClanahan
Paulo Gaspar
Since:
1.3

Field Summary

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

Constructor Summary

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.

Method Summary

Throwable
getCause()

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()

Copyright (c) 2001-2004 - Apache Software Foundation