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:
Serializable
Timeout exception that tracks the original operation.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCheckedOperationTimeoutException
(String message, Collection<Operation> ops) CheckedOperationTimeoutException
(String message, Operation op) Construct a CheckedOperationTimeoutException with the given message and operation. -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
createMessage
(String message, Collection<Operation> ops) Get the operation that timed out.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
operations
-
-
Constructor Details
-
CheckedOperationTimeoutException
Construct a CheckedOperationTimeoutException with the given message and operation.- Parameters:
message
- the messageop
- the operation that timed out
-
CheckedOperationTimeoutException
-
-
Method Details
-
createMessage
-
getOperations
Get the operation that timed out.
-