Class CreateInstanceException
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.CreateInstanceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InstanceNotUniqueException
Exception used to indicate that an instance could not be created.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreateInstanceException
(String entityName, String message) Basic constructor with the name of the entity and a message explaining the cause of the error. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the entity name of the instance that could not be created.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreateInstanceException
Basic constructor with the name of the entity and a message explaining the cause of the error.- Parameters:
entityName
- The name of the entity for which no instance could be created.message
- The message explaining the error that occurred.
-
-
Method Details
-
getEntityName
This method returns the entity name of the instance that could not be created.- Returns:
- the entity name of the instance that could not be created.
-