Class AbortedException

All Implemented Interfaces:
Serializable

public class AbortedException extends RuntimeException
An exception marking prematurely or unexpectedly closed inbound.
Since:
0.6
Author:
Stephane Maldini
See Also:
  • Constructor Details

    • AbortedException

      public AbortedException(String message)
    • AbortedException

      public AbortedException(Throwable throwable)
  • Method Details

    • isConnectionReset

      public static boolean isConnectionReset(Throwable err)
      Return true if connection has been simply aborted on a tcp level by verifying if the given inbound error.
      Parameters:
      err - an inbound exception
      Returns:
      true if connection has been simply aborted on a tcp level
    • beforeSend

      public static AbortedException beforeSend()