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 aQueryParameterExceptionusing the supplied exception message.QueryParameterException(String message, String queryString) Constructs aQueryParameterExceptionQueryParameterException(String message, String queryString, Exception cause) Constructs aQueryParameterException -
Method Summary
Methods inherited from class org.hibernate.QueryException
getMessage, getOriginalMessage, getQueryStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QueryParameterException
Constructs aQueryParameterExceptionusing 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
-