Class UnknownAggregateException
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.UnknownAggregateException
- All Implemented Interfaces:
Serializable
This type of exception is used when an invalid aggregate is encountered.
- Author:
- voicu
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownAggregateException
(String aggregateName) Constructs the exception with the invalid aggregate name.UnknownAggregateException
(String aggregateName, String message) Constructs the exception with the invalid aggregate name and a message containing more information about the cause or place of the error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownAggregateException
Constructs the exception with the invalid aggregate name.- Parameters:
aggregateName
- The name of the aggregate that is invalid.
-
UnknownAggregateException
Constructs the exception with the invalid aggregate name and a message containing more information about the cause or place of the error.- Parameters:
aggregateName
- The name of the aggregate that is invalid.message
- Message containing additional information about the error.
-
-
Method Details