org.debellor.core.exception.data
Class DataCastException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.debellor.core.exception.DebellorException
              extended by org.debellor.core.exception.data.DataException
                  extended by org.debellor.core.exception.data.DataCastException
All Implemented Interfaces:
java.io.Serializable

public class DataCastException
extends DataException

Author:
Marcin Wojnarski
See Also:
Serialized Form

Constructor Summary
DataCastException(DataObject dataObject, java.lang.Class<? extends DataObject> expectedClass)
           
DataCastException(DataType dataType, java.lang.Class<? extends DataType> expectedClass)
           
 
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

DataCastException

public DataCastException(DataObject dataObject,
                         java.lang.Class<? extends DataObject> expectedClass)

DataCastException

public DataCastException(DataType dataType,
                         java.lang.Class<? extends DataType> expectedClass)