Class UnknownEntityReferenceException

All Implemented Interfaces:
Serializable

public class UnknownEntityReferenceException extends MetaModelException
This type of exception is used when an invalid aggregate and entity reference is encountered.
Author:
voicu
See Also:
  • Constructor Details

    • UnknownEntityReferenceException

      public UnknownEntityReferenceException(String aggregateName, String entityReferenceName)
      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

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

      public String getEntityReferenceName()
      This method returns the entity reference name which was unknown.
      Returns:
      The entity reference name.