Class UnknownEntityMappingException

All Implemented Interfaces:
Serializable

public class UnknownEntityMappingException extends MappingException
This type of exception is used when an invalid entity mapping is encountered.
Since:
7.1
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • UnknownEntityMappingException

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

      public UnknownEntityMappingException(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.