Class EntityPropertyAccessException

All Implemented Interfaces:
Serializable

public class EntityPropertyAccessException extends JdbcException
Exception thrown when access to an entity property fails.

This exception is typically thrown when there is an error accessing a property of an entity, such as when reflection fails due to security restrictions or when a getter or setter method throws an exception.

See Also:
  • Constructor Details

    • EntityPropertyAccessException

      public EntityPropertyAccessException(Throwable cause, String entityClassName, String entityPropertyName)
      Constructs a new exception with the specified cause, entity class name, and property name.
      Parameters:
      cause - the cause of this exception
      entityClassName - the fully qualified name of the entity class
      entityPropertyName - the name of the property that could not be accessed
  • 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 could not be accessed.
      Returns:
      the entity property name