Class PartialSuccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.integration.support.PartialSuccessException
All Implemented Interfaces:
java.io.Serializable

public class PartialSuccessException
extends org.springframework.messaging.MessagingException
A MessagingException thrown when a non-transactional operation is performing multiple updates from a single message, e.g. an FTP 'mput' operation.
Since:
4.2
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    PartialSuccessException​(org.springframework.messaging.Message<?> message, java.lang.String description, java.lang.Throwable cause, java.util.Collection<?> partialResults, java.util.Collection<?> derivedInput)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Collection<?> getDerivedInput()
    <T> java.util.Collection<T> getDerivedInput​(java.lang.Class<T> clazz)
    Convenience version of getDerivedInput() to avoid casting
    java.util.Collection<?> getPartialResults()
    <T> java.util.Collection<T> getPartialResults​(java.lang.Class<T> clazz)
    Convenience version of getPartialResults() to avoid casting
    java.lang.String toString()  

    Methods inherited from class org.springframework.messaging.MessagingException

    getFailedMessage

    Methods inherited from class org.springframework.core.NestedRuntimeException

    contains, getMessage, getMostSpecificCause, getRootCause

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PartialSuccessException

      public PartialSuccessException​(org.springframework.messaging.Message<?> message, java.lang.String description, java.lang.Throwable cause, java.util.Collection<?> partialResults, java.util.Collection<?> derivedInput)
      Parameters:
      message - the message.
      description - the description.
      cause - the cause.
      partialResults - The subset of multiple updates that were successful before the cause occurred.
      derivedInput - The collection (usually derived from the message) of input data; e.g. a filtered list of local files being sent to FTP using mput.
  • Method Details