Package 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:
java.io.Serializable
public class CheckedOperationTimeoutException extends java.util.concurrent.TimeoutException
Timeout exception that tracks the original operation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<Operation>
operations
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CheckedOperationTimeoutException(java.lang.String message, java.util.Collection<Operation> ops)
CheckedOperationTimeoutException(java.lang.String message, Operation op)
Construct a CheckedOperationTimeoutException with the given message and operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
createMessage(java.lang.String message, java.util.Collection<Operation> ops)
java.util.Collection<Operation>
getOperations()
Get the operation that timed out.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
operations
private final java.util.Collection<Operation> operations
-
-
Constructor Detail
-
CheckedOperationTimeoutException
public CheckedOperationTimeoutException(java.lang.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(java.lang.String message, java.util.Collection<Operation> ops)
-
-