net.spy.memcached.internal
Class CheckedOperationTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.concurrent.TimeoutException
net.spy.memcached.internal.CheckedOperationTimeoutException
- All Implemented Interfaces:
- Serializable
public class CheckedOperationTimeoutException
- extends TimeoutException
Timeout exception that tracks the original operation.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CheckedOperationTimeoutException
public CheckedOperationTimeoutException(String message,
Operation op)
- Construct a CheckedOperationTimeoutException with the given message
and operation.
- Parameters:
message
- the messageop
- the operation that timed out
CheckedOperationTimeoutException
public CheckedOperationTimeoutException(String message,
Collection<Operation> ops)
getOperations
public Collection<Operation> getOperations()
- Get the operation that timed out.