Module bus.http

Class RouteException

All Implemented Interfaces:
Serializable

public final class RouteException extends RuntimeException
An exception thrown to indicate a problem connecting via a single route. This may be an aggregate of multiple connection attempts, none of which were successful.
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Method Details

    • getFirstConnectException

      public IOException getFirstConnectException()
      Returns the first exception that was encountered when attempting to connect.
      Returns:
      The first connection exception.
    • getLastConnectException

      public IOException getLastConnectException()
      Returns the last exception that was encountered when attempting to connect.
      Returns:
      The last connection exception.