| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Serializable |
| Access | Constructor and Description |
|---|---|
| public | UnresolvableObjectException(Serializable
The identifier of the entity which could not be resolved identifier, String The name of the entity which could not be resolved entityName)Constructs an UnresolvableObjectException using the specified information. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Serializable | |
| public String | getMessage()
Overrides java. |
| public static void | throwIfNull(Object
The entity to check for nullness entity, Serializable The identifier of the entity identifier, String The name of the entity entityName)Factory method for building and throwing an UnresolvableObjectException if the entity is null. |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| identifier | back to summary |
|---|---|
| private final Serializable identifier | |
| UnresolvableObjectException | back to summary |
|---|---|
| public UnresolvableObjectException(Serializable identifier, String entityName) Constructs an UnresolvableObjectException using the specified information.
| |
| UnresolvableObjectException | back to summary |
|---|---|
| protected UnresolvableObjectException(String message, Serializable identifier, String clazz) | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() | |
| getIdentifier | back to summary |
|---|---|
| public Serializable getIdentifier() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| throwIfNull | back to summary |
|---|---|
| public static void throwIfNull(Object entity, Serializable identifier, String entityName) throws UnresolvableObjectException Factory method for building and throwing an UnresolvableObjectException if the entity is null.
| |