Class 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
    • 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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 message
        op - the operation that timed out
      • CheckedOperationTimeoutException

        public CheckedOperationTimeoutException​(java.lang.String message,
                                                java.util.Collection<Operation> ops)
    • Method Detail

      • createMessage

        private static java.lang.String createMessage​(java.lang.String message,
                                                      java.util.Collection<Operation> ops)
      • getOperations

        public java.util.Collection<Operation> getOperations()
        Get the operation that timed out.