Class PropertyTypeInvalidException

  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
All Implemented Interfaces:

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.

$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


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

name - Name of the property
type - Required type

Copyright © 2011. All Rights Reserved.