Package org.hibernate.query

Class QueryArgumentException

java.lang.Object
java.lang.Throwable
All Implemented Interfaces:
Serializable

public classQueryArgumentExceptionextendsIllegalArgumentException
An error that occurs binding an argument to a query parameter. Usually indicates that the argument is of a type not assignable to the type of the parameter.
Since:
6.3
See Also:
  • Constructor Details

    • QueryArgumentException

      public QueryArgumentException(String message,Class<?> parameterType,Object argument)
  • Method Details

    • getParameterType

      public Class<?> getParameterType()
    • getArgument

      public Object getArgument()