public class UnresolvedConflictException extends RuntimeException
Retrier.attempt(java.util.concurrent.Callable)
when it finally fails.
Holds the Collection of siblings so they can be presented for further resolution attempts.Constructor and Description |
---|
UnresolvedConflictException(String message,
Collection<? extends Object> siblings)
For when a collection of siblings cannot be whittled down to one.
|
UnresolvedConflictException(Throwable cause,
String message,
Collection<? extends Object> siblings)
For when a collection of siblings cannot be whittled down to one.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Object> |
getSiblings()
Get the siblings that could not be resolved.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnresolvedConflictException(Throwable cause, String message, Collection<? extends Object> siblings)
cause
- the exception that broke the camels backmessage
- a String messagesiblings
- the collection of siblingspublic UnresolvedConflictException(String message, Collection<? extends Object> siblings)
message
- a String messagesiblings
- the collection of siblingspublic Collection<? extends Object> getSiblings()
Copyright © 2013. All Rights Reserved.