public class JpaOperationFailedException extends RuntimeException
JpaOperations
failsConstructor and Description |
---|
JpaOperationFailedException() |
JpaOperationFailedException(String message) |
JpaOperationFailedException(String message,
Throwable cause) |
JpaOperationFailedException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getOffendingJPAQl() |
void |
setOffendingJPAQl(String offendingJPAQl) |
JpaOperationFailedException |
withOffendingJPAQl(String offendingJPAQl)
If execution of a JPA QL fails, we can set that query using this convenience method.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JpaOperationFailedException()
public JpaOperationFailedException(String message)
public JpaOperationFailedException(Throwable cause)
public JpaOperationFailedException withOffendingJPAQl(String offendingJPAQl)
offendingJPAQl
- The offending query.public String getOffendingJPAQl()
public void setOffendingJPAQl(String offendingJPAQl)