Spring Integration

org.springframework.integration.jpa.core
Class JpaOperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
JpaOperationFailedException()
           
JpaOperationFailedException(java.lang.String message)
           
JpaOperationFailedException(java.lang.String message, java.lang.Throwable cause)
           
JpaOperationFailedException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getOffendingJPAQl()
           
 void setOffendingJPAQl(java.lang.String offendingJPAQl)
           
 JpaOperationFailedException withOffendingJPAQl(java.lang.String offendingJPAQl)
          If execution of a JPA QL fails, we can set that query using this convenience method.
 
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
 

Constructor Detail

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)
Method Detail

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)

Spring Integration