Class UnknownMetadataException
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.UnknownMetadataException
- All Implemented Interfaces:
Serializable
This type of exception is used when an invalid aggregate and metadata pair is encountered.
- Author:
- V. Moldovan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownMetadataException
(String aggregateName, String metadataName) Constructs the exception using an aggregate and a metadata name. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the aggregate name for which the matadata name was unknown.This method returns the metadata 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
-
UnknownMetadataException
Constructs the exception using an aggregate and a metadata name.- Parameters:
aggregateName
- The name of the aggregate in which the metadata is not known.metadataName
- The name of the metadata that is not defines in the given aggregate.
-
-
Method Details
-
getAggregateName
This method returns the aggregate name for which the matadata name was unknown.- Returns:
- The aggregate name.
-
getMetadataName
This method returns the metadata name which was unknown.- Returns:
- The metadata name.
-