Class RequestBodyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.metabocloud.core.exceptions.RequestBodyException
All Implemented Interfaces:
Serializable

public class RequestBodyException extends RuntimeException
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 Details

    • RequestBodyException

      public RequestBodyException(String errorMessage)
      Constructs a new RequestBodyException with the specified detail message.
      Parameters:
      errorMessage - The detail message that explains the reason for the exceptions.