public class NonUniqueObjectException extends HibernateException
Constructor and Description |
---|
NonUniqueObjectException(java.io.Serializable entityId,
java.lang.String entityName)
Constructs a NonUniqueObjectException using the given information, using a standard message.
|
NonUniqueObjectException(java.lang.String message,
java.io.Serializable entityId,
java.lang.String entityName)
Constructs a NonUniqueObjectException using the given information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEntityName() |
java.io.Serializable |
getIdentifier() |
java.lang.String |
getMessage() |
public NonUniqueObjectException(java.lang.String message, java.io.Serializable entityId, java.lang.String entityName)
message
- A message explaining the exception conditionentityId
- The identifier of the entityentityName
- The name of the entitypublic NonUniqueObjectException(java.io.Serializable entityId, java.lang.String entityName)
entityId
- The identifier of the entityentityName
- The name of the entityCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.