Class 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)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BadRequestException

        public BadRequestException​(java.lang.String message)