public class PropertyAccessException extends HibernateException
Constructor and Description |
---|
PropertyAccessException(Throwable cause,
String message,
boolean wasSetter,
Class persistentClass,
String propertyName)
Constructs a PropertyAccessException using the specified information.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
Class |
getPersistentClass() |
String |
getPropertyName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertyAccessException(Throwable cause, String message, boolean wasSetter, Class persistentClass, 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.public Class getPersistentClass()
public String getPropertyName()
public String getMessage()
getMessage
in class Throwable
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.