public class PropertyAccessException extends HibernateException
Constructor and Description |
---|
PropertyAccessException(java.lang.Throwable cause,
java.lang.String message,
boolean wasSetter,
java.lang.Class persistentClass,
java.lang.String propertyName)
Constructs a PropertyAccessException using the specified information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
java.lang.Class |
getPersistentClass() |
java.lang.String |
getPropertyName() |
protected java.lang.String |
originalMessage() |
public PropertyAccessException(java.lang.Throwable cause, java.lang.String message, boolean wasSetter, java.lang.Class persistentClass, java.lang.String propertyName)
cause
- The underlying causemessage
- A message explaining the exception conditionwasSetter
- Was the attempting to access the setter the cause of the exception?persistentClass
- The class which is supposed to contain the property in questionpropertyName
- The name of the property.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.