| Access | Constructor and Description |
|---|---|
| public | ObjectOptimisticLockingFailureException(String
the detail message msg, Throwable the source exception cause)Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object. |
| public | ObjectOptimisticLockingFailureException(Class<?>
the persistent class persistentClass, Object the ID of the object for which the locking failed identifier)Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. |
| public | ObjectOptimisticLockingFailureException(Class<?>
the persistent class persistentClass, Object the ID of the object for which the locking failed identifier, Throwable the source exception cause)Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. |
| public | ObjectOptimisticLockingFailureException(Class<?>
the persistent class persistentClass, Object the ID of the object for which the locking failed identifier, String the detail message msg, Throwable the source exception cause)Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message. |
| public | ObjectOptimisticLockingFailureException(String
the name of the persistent class persistentClassName, Object the ID of the object for which the locking failed identifier)Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. |
| public | ObjectOptimisticLockingFailureException(String
the name of the persistent class persistentClassName, Object the ID of the object for which the locking failed identifier, Throwable the source exception cause)Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. |
| public | ObjectOptimisticLockingFailureException(String
the name of the persistent class persistentClassName, Object the ID of the object for which the locking failed identifier, String the detail message msg, Throwable the source exception cause)Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Class | |
| public String | getPersistentClassName()
Return the name of the persistent class of the object for which the locking failed. |
| identifier | back to summary |
|---|---|
| private final Object identifier
| |
| persistentClass | back to summary |
|---|---|
| private final Object persistentClass
| |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(String msg, Throwable cause) Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message. | |
| ObjectOptimisticLockingFailureException | back to summary |
|---|---|
| public ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message. | |
| getIdentifier | back to summary |
|---|---|
| public Object getIdentifier() Return the identifier of the object for which the locking failed.
| |
| getPersistentClass | back to summary |
|---|---|
| public Class Return the persistent class of the object for which the locking failed. If no Class was specified, this method returns null.
| |
| getPersistentClassName | back to summary |
|---|---|
| public String getPersistentClassName() Return the name of the persistent class of the object for which the locking failed. Will work for both Class objects and String names.
| |