org.springframework.integration.jpa.core
Class JpaOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.integration.jpa.core.JpaOperationFailedException
- All Implemented Interfaces:
- java.io.Serializable
public class JpaOperationFailedException
- extends java.lang.RuntimeException
An Exception that would be thrown if any of the Operations from JpaOperations
fails
- Since:
- 2.2
- Author:
- Amol Nayak
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JpaOperationFailedException
public JpaOperationFailedException()
JpaOperationFailedException
public JpaOperationFailedException(java.lang.String message,
java.lang.Throwable cause)
JpaOperationFailedException
public JpaOperationFailedException(java.lang.String message)
JpaOperationFailedException
public JpaOperationFailedException(java.lang.Throwable cause)
withOffendingJPAQl
public JpaOperationFailedException withOffendingJPAQl(java.lang.String offendingJPAQl)
- If execution of a JPA QL fails, we can set that query using this convenience method.
- Parameters:
offendingJPAQl
-
- Returns:
- JpaOperationFailedException
getOffendingJPAQl
public java.lang.String getOffendingJPAQl()
setOffendingJPAQl
public void setOffendingJPAQl(java.lang.String offendingJPAQl)