java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.miaixz.bus.http.accord.RouteException
- All Implemented Interfaces:
Serializable
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 Summary
Modifier and TypeMethodDescriptionReturns the first exception that was encountered when attempting to connect.Returns the last exception that was encountered when attempting to connect.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getFirstConnectException
Returns the first exception that was encountered when attempting to connect.- Returns:
- The first connection exception.
-
getLastConnectException
Returns the last exception that was encountered when attempting to connect.- Returns:
- The last connection exception.
-