public class PropertyValueException extends HibernateException
| Constructor and Description |
|---|
PropertyValueException(String message,
String entityName,
String propertyName)
Constructs a PropertyValueException using the specified information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityName() |
String |
getMessage() |
String |
getPropertyName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PropertyValueException(String message, String entityName, String propertyName)
message - A message explaining the exception conditionentityName - The name of the entity, containing the propertypropertyName - The name of the property being accessed.public String getEntityName()
public String getPropertyName()
public String getMessage()
getMessage in class ThrowableCopyright © 2017 JBoss by Red Hat. All rights reserved.