public class TeamPartialOperationException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
TeamPartialOperationException.Failure
Host failure.
|
Constructor and Description |
---|
TeamPartialOperationException(Collection<IpAddress> successes,
Collection<TeamPartialOperationException.Failure> failures)
Constructs a new exception with
null as its detail message. |
Modifier and Type | Method and Description |
---|---|
Collection<TeamPartialOperationException.Failure> |
getFailures()
Gets the nodes where the operation was a failure.
|
Collection<IpAddress> |
getSuccesses()
Gets the nodes where the operation was successful.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TeamPartialOperationException(Collection<IpAddress> successes, Collection<TeamPartialOperationException.Failure> failures)
null
as its detail message.successes
- nodes where the operation was successfulfailures
- nodes where the operation was a failurepublic Collection<IpAddress> getSuccesses()
public Collection<TeamPartialOperationException.Failure> getFailures()
Copyright © 2015. All Rights Reserved.