org.hibernate
Class PropertyAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.HibernateException
                  extended by org.hibernate.PropertyAccessException
All Implemented Interfaces:
Serializable

public class PropertyAccessException
extends HibernateException

A problem occurred accessing a property of an instance of a persistent class by reflection, or via CGLIB. There are a number of possible underlying causes, including

See Also:
Serialized Form

Constructor Summary
PropertyAccessException(Throwable root, String s, boolean wasSetter, Class persistentClass, String propertyName)
           
 
Method Summary
 String getMessage()
           
 Class getPersistentClass()
           
 String getPropertyName()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

PropertyAccessException

public PropertyAccessException(Throwable root,
                               String s,
                               boolean wasSetter,
                               Class persistentClass,
                               String propertyName)
Method Detail

getPersistentClass

public Class getPersistentClass()

getPropertyName

public String getPropertyName()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.