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:
- Serializable
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
- Author:
- Gary Russell, Artem Bilan
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPartialSuccessException(Message<?> message, String description, Throwable cause, Collection<?> partialResults, Collection<?> derivedInput) 
- 
Method SummaryModifier and TypeMethodDescriptionCollection<?> <T> Collection<T> getDerivedInput(Class<T> clazz) Convenience version ofgetDerivedInput()to avoid casting.Collection<?> <T> Collection<T> getPartialResults(Class<T> clazz) Convenience version ofgetPartialResults()to avoid casting.toString()Methods inherited from class org.springframework.messaging.MessagingExceptiongetFailedMessageMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- 
Constructor Details- 
PartialSuccessExceptionpublic PartialSuccessException(Message<?> message, String description, Throwable cause, Collection<?> partialResults, 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- 
getPartialResults- Returns:
- the partial results
 
- 
getDerivedInput- Returns:
- the derived input.
 
- 
getPartialResultsConvenience version ofgetPartialResults()to avoid casting.- Type Parameters:
- T- the result type.
- Parameters:
- clazz- the type.
- Returns:
- the partial results.
 
- 
getDerivedInputConvenience version ofgetDerivedInput()to avoid casting.- Type Parameters:
- T- the type of input.
- Parameters:
- clazz- the type.
- Returns:
- the partial results.
 
- 
toString- Overrides:
- toStringin class- MessagingException
 
 
-