public class WrongClassException extends HibernateException
Constructor and Description |
---|
WrongClassException(java.lang.String message,
java.io.Serializable identifier,
java.lang.String entityName)
Constructs a WrongClassException using the supplied information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntityName() |
java.io.Serializable |
getIdentifier() |
public WrongClassException(java.lang.String message, java.io.Serializable identifier, java.lang.String entityName)
message
- A message explaining the exception conditionidentifier
- The identifier of the entityentityName
- The entity-type requestedCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.