Package fr.metabocloud.core.exceptions
Class RequestBodyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.metabocloud.core.exceptions.RequestBodyException
- All Implemented Interfaces:
Serializable
Exception thrown when the request body is incorrectly formatted.
This exception is used to signal that the body of a request is incorrectly formatted.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestBodyException(String errorMessage) Constructs a newRequestBodyExceptionwith the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestBodyException
Constructs a newRequestBodyExceptionwith the specified detail message.- Parameters:
errorMessage- The detail message that explains the reason for the exceptions.
-