Package dev.tripswitch.admin
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.tripswitch.TripSwitchException
dev.tripswitch.admin.ApiException
dev.tripswitch.admin.ValidationException
- All Implemented Interfaces:
Serializable
Thrown when input validation fails (400 or 422).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(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
-
ValidationException
-