Class UnknownMetadataException

All Implemented Interfaces:
Serializable

public class UnknownMetadataException extends MetaModelException
This type of exception is used when an invalid aggregate and metadata pair is encountered.
Author:
V. Moldovan
See Also:
  • Constructor Details

    • UnknownMetadataException

      public UnknownMetadataException(String aggregateName, String metadataName)
      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

      public String getAggregateName()
      This method returns the aggregate name for which the matadata name was unknown.
      Returns:
      The aggregate name.
    • getMetadataName

      public String getMetadataName()
      This method returns the metadata name which was unknown.
      Returns:
      The metadata name.