| Access | Constructor and Description |
|---|---|
| public | ObjectRetrievalFailureException(String
the detail message msg, Throwable the source exception cause)Create a general ObjectRetrievalFailureException with the given message, without any information on the affected object. |
| public | ObjectRetrievalFailureException(Class<?>
the persistent class persistentClass, Object the ID of the object that should have been retrieved identifier)Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message. |
| public | ObjectRetrievalFailureException(Class<?>
the persistent class persistentClass, Object the ID of the object that should have been retrieved identifier, String the detail message msg, Throwable the source exception cause)Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception. |
| public | ObjectRetrievalFailureException(String
the name of the persistent class persistentClassName, Object the ID of the object that should have been retrieved identifier)Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message. |
| public | ObjectRetrievalFailureException(String
the name of the persistent class persistentClassName, Object the ID of the object that should have been retrieved identifier, String the detail message msg, Throwable the source exception cause)Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception. |
| identifier | back to summary |
|---|---|
| private final Object identifier
| |
| persistentClass | back to summary |
|---|---|
| private final Object persistentClass
| |
| ObjectRetrievalFailureException | back to summary |
|---|---|
| public ObjectRetrievalFailureException(String msg, Throwable cause) Create a general ObjectRetrievalFailureException with the given message, without any information on the affected object. | |
| ObjectRetrievalFailureException | back to summary |
|---|---|
| public ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier) Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message. | |
| ObjectRetrievalFailureException | back to summary |
|---|---|
| public ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception. | |
| ObjectRetrievalFailureException | back to summary |
|---|---|
| public ObjectRetrievalFailureException(String persistentClassName, Object identifier) Create a new ObjectRetrievalFailureException for the given object, with the default "not found" message. | |
| ObjectRetrievalFailureException | back to summary |
|---|---|
| public ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception. | |
| getIdentifier | back to summary |
|---|---|
| public Object getIdentifier() Return the identifier of the object that was not found.
| |
| getPersistentClass | back to summary |
|---|---|
| public Class Return the persistent class of the object that was not found. 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 that was not found. Will work for both Class objects and String names.
| |