com.basho.riak.client.cap
Class UnresolvedConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.basho.riak.client.cap.UnresolvedConflictException
- All Implemented Interfaces:
- Serializable
public class UnresolvedConflictException
- extends RuntimeException
Thrown by Retrier.attempt(java.util.concurrent.Callable)
when it finally fails.
Holds the Collection of siblings so they can be presented for further resolution attempts.
- Author:
- russell
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnresolvedConflictException
public UnresolvedConflictException(Throwable cause,
String message,
Collection<? extends Object> siblings)
- For when a collection of siblings cannot be whittled down to one.
- Parameters:
cause
- the exception that broke the camels backmessage
- a String messagesiblings
- the collection of siblings
UnresolvedConflictException
public UnresolvedConflictException(String message,
Collection<? extends Object> siblings)
- For when a collection of siblings cannot be whittled down to one.
- Parameters:
message
- a String messagesiblings
- the collection of siblings
getSiblings
public Collection<? extends Object> getSiblings()
- Get the siblings that could not be resolved.
- Returns:
- the siblings
Copyright © 2012. All Rights Reserved.