Class BadRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.djrapitops.plan.delivery.web.resolver.exception.BadRequestException
All Implemented Interfaces:
Serializable

public class BadRequestException extends IllegalArgumentException
Throw this exception when a Resolver gets invalid query for JSON.

Plan will construct bad request error json automatically. Note that you might need to handle the error page, which is json: {"status": 400, "error": "message"}

See Also:
Serialized Form
  • Constructor Details

    • BadRequestException

      public BadRequestException(String message)