Class EntityPropertyNotFoundException

All Implemented Interfaces:
Serializable

public class EntityPropertyNotFoundException extends JdbcException
Exception thrown when a property is not found in an entity class.

This exception is typically thrown when attempting to access a property that does not exist in an entity, either through reflection or when mapping query results to entity objects.

See Also:
  • Constructor Details

    • EntityPropertyNotFoundException

      public EntityPropertyNotFoundException(String entityClassName, String entityPropertyName)
      Constructs a new exception with the specified entity class name and property name.
      Parameters:
      entityClassName - the fully qualified name of the entity class
      entityPropertyName - the name of the property that was not found
  • Method Details

    • getEntityClassName

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

      public String getEntityPropertyName()
      Returns the name of the property that was not found.
      Returns:
      the entity property name