it.eng.spago.cms.exceptions
Class ValueCastException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by it.eng.spago.cms.exceptions.ValueCastException
All Implemented Interfaces:
java.io.Serializable

public class ValueCastException
extends java.lang.Exception

Models an exception occured when the system try to cast cms properties to different types

See Also:
Serialized Form

Constructor Summary
ValueCastException()
          Constructor of the class useful to build the exception without an error message
ValueCastException(java.lang.String error)
          Constructor of the class useful to build the exception with an error message
ValueCastException(java.lang.String error, java.lang.Throwable exception)
          Constructor of the class useful to build the exception with an error message and a preceding exception
 
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

ValueCastException

public ValueCastException()
Constructor of the class useful to build the exception without an error message


ValueCastException

public ValueCastException(java.lang.String error)
Constructor of the class useful to build the exception with an error message

Parameters:
error - Error Message

ValueCastException

public ValueCastException(java.lang.String error,
                          java.lang.Throwable exception)
Constructor of the class useful to build the exception with an error message and a preceding exception

Parameters:
error - Error Message
exception - Preceding Throwable object