public class StaleObjectStateException extends StaleStateException
Constructor and Description |
---|
StaleObjectStateException(String entityName,
Serializable identifier)
Constructs a StaleObjectStateException using the supplied information.
|
Modifier and Type | Method and Description |
---|---|
String |
getEntityName() |
Serializable |
getIdentifier() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public StaleObjectStateException(String entityName, Serializable identifier)
entityName
- The name of the entityidentifier
- The identifier of the entitypublic String getEntityName()
public Serializable getIdentifier()
public String getMessage()
getMessage
in class Throwable
Copyright © 2019 JBoss by Red Hat. All rights reserved.