Package org.hibernate.query
Class QueryArgumentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.hibernate.query.QueryArgumentException
-
- All Implemented Interfaces:
Serializable
public class QueryArgumentException extends IllegalArgumentException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryArgumentException(String message, Class<?> parameterType, Object argument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getArgument()
Class<?>
getParameterType()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-