public class ObjectSavingException extends ObjectAccessException
| Constructor and Description |
|---|
ObjectSavingException(String objectId,
String message,
Throwable cause) |
ObjectSavingException(String objectId,
Throwable cause)
Creates exception message using
getMessageWithObjectId(String) |
| Modifier and Type | Method and Description |
|---|---|
String |
getObjectId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ObjectSavingException(String objectId, Throwable cause)
getMessageWithObjectId(String)objectId - is put into message and passed to super class constructor. Additionally it can be retrieved by calling
getObjectId().cause - is re-passed to superclass constructorpublic ObjectSavingException(String objectId, String message, Throwable cause)
objectId - can be retrieved by calling getObjectId()message - is re-passed to superclass constructorcause - is re-passed to superclass constructor and cause objectIdpublic String getObjectId()
Copyright © 2018. All rights reserved.