Package dev.tripswitch.admin
Class ServerFaultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.tripswitch.TripSwitchException
dev.tripswitch.admin.ApiException
dev.tripswitch.admin.ServerFaultException
- All Implemented Interfaces:
Serializable
Thrown when the server returns a 5xx error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerFaultException(int status, String code, String message, String requestId, byte[] body) -
Method Summary
Methods inherited from class dev.tripswitch.admin.ApiException
forStatus, getBody, getCode, getRequestId, getRetryAfter, getStatusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerFaultException
-