Package ai.tock.shared.exception.rest
Class BadRequestException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class BadRequestException extends RestException
Http 400 exception.
-
-
Field Summary
Fields Modifier and Type Field Description private final ErrorMessageWrapperhttpResponseBodyprivate final HttpResponseStatushttpResponseStatusprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description BadRequestException(Integer errorCode, String message)BadRequestException(String message)BadRequestException(Set<ErrorMessage> errorMessages)BadRequestException(ErrorMessageWrapper httpResponseBody)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class ai.tock.shared.exception.rest.RestException
getHttpResponseBody, getHttpResponseStatus -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BadRequestException
BadRequestException(String message)
-
BadRequestException
BadRequestException(Set<ErrorMessage> errorMessages)
-
BadRequestException
BadRequestException(ErrorMessageWrapper httpResponseBody)
-
-
-
-