Class TimeoutException

All Implemented Interfaces:
Serializable

public final class TimeoutException extends LoomException
Thrown when an operation exceeds the configured timeout.

This exception indicates that an operation (such as a network request, lock acquisition, or replication) did not complete within the specified time limit.

Clients may choose to retry the operation, adjust the timeout value, or implement exponential backoff strategies.

Since:
1.0
See Also:
  • Constructor Details

    • TimeoutException

      public TimeoutException(long timeoutMs, String operation)
      Creates a new TimeoutException with timeout duration and operation name.
      Parameters:
      timeoutMs - the timeout duration in milliseconds
      operation - the name of the operation that timed out
    • TimeoutException

      public TimeoutException(String message)
      Creates a new TimeoutException with just a message.
      Parameters:
      message - the error message
    • TimeoutException

      public TimeoutException(String message, Throwable cause)
      Creates a new TimeoutException with message and cause.
      Parameters:
      message - the error message
      cause - the underlying cause