Class CancellationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.linecorp.armeria.common.CancellationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RequestCancellationException, ResponseCancellationException, ResponseCompleteException, TimeoutException

public class CancellationException extends RuntimeException
A RuntimeException raised when a requested invocation is forced to stop before its completion.
See Also:
  • Constructor Details

    • CancellationException

      public CancellationException()
      Creates a new exception.
    • CancellationException

      public CancellationException(@Nullable @Nullable String message)
      Creates a new instance with the specified message.
    • CancellationException

      public CancellationException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause)
      Creates a new instance with the specified message and cause.
    • CancellationException

      public CancellationException(@Nullable @Nullable Throwable cause)
      Creates a new instance with the specified cause.
    • CancellationException

      protected CancellationException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Creates a new instance with the specified message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.