public class JpaOperationFailedException extends RuntimeException
JpaOperations fails| Constructor 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, toStringpublic 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)