Class UnknownEntityException

All Implemented Interfaces:
Serializable

public class UnknownEntityException extends MetaModelException
This type of exception is used when an invalid entity is encountered.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • UnknownEntityException

      public UnknownEntityException(String entityName)
      Constructs the exception with the invalid entity name.
      Parameters:
      entityName - The name of the entity that is invalid
    • UnknownEntityException

      public UnknownEntityException(String entityName, String message)
      Constructs the exception with the invalid entity name and a message containing more information about the cause or place of the error.
      Parameters:
      entityName - The name of the entity that is invalid
      message - Message containing additional information about the error.
  • Method Details

    • getEntityName

      public String getEntityName()
      This method returns the name of the entity that was invalid.
      Returns:
      the name of the entity that was invalid.