public class WrongClassException extends HibernateException
Constructor and Description |
---|
WrongClassException(String message,
Serializable identifier,
String entityName)
Constructs a WrongClassException using the supplied information.
|
Modifier and Type | Method and Description |
---|---|
String |
getEntityName() |
Serializable |
getIdentifier() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WrongClassException(String message, Serializable identifier, String entityName)
message
- A message explaining the exception conditionidentifier
- The identifier of the entityentityName
- The entity-type requestedpublic String getEntityName()
public Serializable getIdentifier()
Copyright © 2019 JBoss by Red Hat. All rights reserved.