org.datanucleus.properties
Class PropertyTypeInvalidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.datanucleus.exceptions.NucleusException
                  extended by org.datanucleus.exceptions.NucleusUserException
                      extended by org.datanucleus.properties.PropertyTypeInvalidException
All Implemented Interfaces:
java.io.Serializable

public class PropertyTypeInvalidException
extends NucleusUserException

Exception thrown when trying to access a property as a specific type yet it is not possible to return as that type.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
PropertyTypeInvalidException(java.lang.String name, java.lang.String type)
          Constructs an exception for the specified class.
 
Method Summary
 
Methods inherited from class org.datanucleus.exceptions.NucleusException
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyTypeInvalidException

public PropertyTypeInvalidException(java.lang.String name,
                                    java.lang.String type)
Constructs an exception for the specified class.

Parameters:
name - Name of the property
type - Required type


Copyright © 2010. All Rights Reserved.