Class IllegalQueryOperationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalMutationQueryException, IllegalSelectQueryException

public class IllegalQueryOperationException extends QueryException
Thrown when an operation of the Query interface is called which is unsupported due to the nature of the query itself. For example, this exception is throw if executeUpdate() is invoked on an instance of Query representing a JPQL or SQL SELECT query.
See Also:
  • Constructor Details

    • IllegalQueryOperationException

      public IllegalQueryOperationException(String message)
    • IllegalQueryOperationException

      public IllegalQueryOperationException(String message, String queryString, Exception cause)