net.smartlab.web.bean
Class ConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.smartlab.web.bean.ConversionException
All Implemented Interfaces:
java.io.Serializable

public class ConversionException
extends java.lang.Exception

A ConversionException is thrown whenever the Converter fails in its attempt to convert a value from the source type to the target type. Failures are usually caused by lack of specific converters which can be easily added to solve the problem.

Author:
rlogiacco
See Also:
Serialized Form

Constructor Summary
ConversionException()
          Default empty constructor.
ConversionException(java.lang.String message)
          Constructs a new instance with the specified describing message.
ConversionException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new instance with the specified describing message and cause.
ConversionException(java.lang.Throwable cause)
          Constructs a new instance with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

ConversionException

public ConversionException()
Default empty constructor.


ConversionException

public ConversionException(java.lang.String message)
Constructs a new instance with the specified describing message.

Parameters:
message - the description of the occurred exception.

ConversionException

public ConversionException(java.lang.Throwable cause)
Constructs a new instance with the specified cause.

Parameters:
cause - the throwable instance wich generated this exception.

ConversionException

public ConversionException(java.lang.String message,
                           java.lang.Throwable cause)
Constructs a new instance with the specified describing message and cause.

Parameters:
message - the description of the occurred exception.
cause - the throwable instance wich generated this exception.


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.