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:
java.io.Serializable
public class BadRequestException extends java.lang.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 Summary
Constructors Constructor Description BadRequestException(java.lang.String message)
-