Top Description Fields Constructors Methods
org.hibernate

public Class PropertyAccessException

extends HibernateException
Class Inheritance
Imports
org.hibernate.util.StringHelper

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
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final Class<T>
private final String
private final boolean

Constructor Summary

AccessConstructor and Description
public
PropertyAccessException(Throwable root, String s, boolean wasSetter, Class<T> persistentClass, String propertyName)

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.
public Class<T>
public String

Field Detail

persistentClassback to summary
private final Class<T> persistentClass
propertyNameback to summary
private final String propertyName
wasSetterback to summary
private final boolean wasSetter

Constructor Detail

PropertyAccessExceptionback to summary
public PropertyAccessException(Throwable root, String s, boolean wasSetter, Class<T> persistentClass, String propertyName)

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

getPersistentClassback to summary
public Class<T> getPersistentClass()
getPropertyNameback to summary
public String getPropertyName()