Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate
Class PropertyAccessException  view PropertyAccessException download PropertyAccessException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.hibernate.exception.NestableRuntimeException
                  extended byorg.hibernate.HibernateException
                      extended byorg.hibernate.PropertyAccessException
All Implemented Interfaces:
org.hibernate.exception.Nestable, java.io.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


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Class persistentClass
           
private  java.lang.String propertyName
           
private  boolean wasSetter
           
 
Fields inherited from class org.hibernate.exception.NestableRuntimeException
delegate
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PropertyAccessException(java.lang.Throwable root, java.lang.String s, boolean wasSetter, java.lang.Class persistentClass, java.lang.String propertyName)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 java.lang.Class getPersistentClass()
           
 java.lang.String getPropertyName()
           
 
Methods inherited from class org.hibernate.exception.NestableRuntimeException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

persistentClass

private final java.lang.Class persistentClass

propertyName

private final java.lang.String propertyName

wasSetter

private final boolean wasSetter
Constructor Detail

PropertyAccessException

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

getPersistentClass

public java.lang.Class getPersistentClass()

getPropertyName

public java.lang.String getPropertyName()

getMessage

public java.lang.String getMessage()
Description copied from class: org.hibernate.exception.NestableRuntimeException
Returns the detail message string of this throwable. If it was created with a null message, returns the following: ( cause==null ? null : cause.toString( ).