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() |
protected String |
originalMessage() |
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.Copyright © 2017 JBoss by Red Hat. All rights reserved.