Class BadRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.tocco.nice2.rest.core.spi.error.BadRequestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidEntityPathException, InvalidRequestItemException, MissingRequestBodyException, UnknownDisplayExpressionException, UnknownEntityModelException, UnknownEntityPathException, UnknownFilterException, UnknownFormException

public class BadRequestException extends RuntimeException
This exception indicates that something was wrong with the request sent by the client. If this exception is thrown, a 400 BAD REQUEST response is sent to the client.
See Also:
  • Constructor Details

    • BadRequestException

      public BadRequestException(String message, Object... messageArgs)
    • BadRequestException

      public BadRequestException(Throwable cause, String message, Object... messageArgs)