Package org.hibernate
Class QueryParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.QueryException
org.hibernate.QueryParameterException
- All Implemented Interfaces:
Serializable
Indicates a problem with the runtime arguments bound to query parameters.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryParameterException
(String message) Constructs aQueryParameterException
using the supplied exception message.QueryParameterException
(String message, String queryString) Constructs aQueryParameterException
QueryParameterException
(String message, String queryString, Exception cause) Constructs aQueryParameterException
-
Method Summary
Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryParameterException
Constructs aQueryParameterException
using the supplied exception message.- Parameters:
message
- The message explaining the exception condition
-
QueryParameterException
Constructs aQueryParameterException
- Parameters:
message
- The message explaining the exception conditionqueryString
- The query that led to the exceptioncause
- The underlying cause
-
QueryParameterException
Constructs aQueryParameterException
- Parameters:
message
- The message explaining the exception conditionqueryString
- The query that led to the exception
-