Class RemoveInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.profile.ProfileException
com.aquima.interactions.profile.exception.RemoveInstanceException
- All Implemented Interfaces:
Serializable
Exception that is used to indicate that an instance could not be deleted.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the exception with the ID of the instance that could not be removed.RemoveInstanceException
(EntityValue id, String explainMessage) Constructs the exception with the ID of the instance that could not be removed.RemoveInstanceException
(EntityValue id, Throwable cause) Constructs the exception with the ID of the instance that could not be removed and the cause of the removal failure. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the ID of the instance that could not be removed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RemoveInstanceException
Constructs the exception with the ID of the instance that could not be removed.- Parameters:
id
- The ID of the instance that could not be removed.
-
RemoveInstanceException
Constructs the exception with the ID of the instance that could not be removed.- Parameters:
id
- The ID of the instance that could not be removed.explainMessage
- Extra explanation information.
-
RemoveInstanceException
Constructs the exception with the ID of the instance that could not be removed and the cause of the removal failure.- Parameters:
id
- The ID of the instance that could not be removed.cause
- The cause of the removal failure.
-
-
Method Details
-
getInstanceReference
This method returns the ID of the instance that could not be removed.- Returns:
- the ID of the instance that could not be removed.
-