Class UnknownEntityReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.metamodel.MetaModelException
com.aquima.interactions.metamodel.exception.UnknownEntityReferenceException
- All Implemented Interfaces:
Serializable
This type of exception is used when an invalid aggregate and entity reference is encountered.
- Author:
- voicu
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownEntityReferenceException
(String aggregateName, String entityReferenceName) Constructs the exception using an aggregate and an entity reference name. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the aggregate name for which the entity reference name was unknown.This method returns the entity reference name which was unknown.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownEntityReferenceException
Constructs the exception using an aggregate and an entity reference name.- Parameters:
aggregateName
- The name of the aggregate in which the entity reference is not known.entityReferenceName
- The name of the entity references that is not defines in the given aggregate.
-
-
Method Details
-
getAggregateName
This method returns the aggregate name for which the entity reference name was unknown.- Returns:
- The aggregate name.
-
getEntityReferenceName
This method returns the entity reference name which was unknown.- Returns:
- The entity reference name.
-