Class EntityTypeNotFoundException

All Implemented Interfaces:
Serializable

public class EntityTypeNotFoundException extends JdbcException
Exception thrown when an entity type implementation is not found.

This exception is typically thrown when Doma cannot locate the generated implementation class for an entity type. This usually happens when the annotation processor did not generate the implementation class or when the class is not accessible at runtime.

See Also:
  • Constructor Details

    • EntityTypeNotFoundException

      public EntityTypeNotFoundException(Throwable cause, String entityClassName, String entityTypeClassName)
      Constructs a new exception with the specified cause, entity class name, and entity type class name.
      Parameters:
      cause - the cause of this exception
      entityClassName - the fully qualified name of the entity class
      entityTypeClassName - the fully qualified name of the entity type implementation class that was not found
  • Method Details

    • getEntityClassName

      public String getEntityClassName()
      Returns the fully qualified name of the entity class.
      Returns:
      the entity class name
    • getEntityTypeClassName

      public String getEntityTypeClassName()
      Returns the fully qualified name of the entity type implementation class that was not found.
      Returns:
      the entity type class name