Class InvalidRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.unomi.rest.exception.InvalidRequestException
All Implemented Interfaces:
Serializable

public class InvalidRequestException extends RuntimeException
Exception throw when the request exceed the configured limit size
See Also:
  • Constructor Details

    • InvalidRequestException

      public InvalidRequestException(String message, String responseMessage)
      Build an invalid request
      Parameters:
      message - message in the logs. It contains detailed information
      responseMessage - message in the response, sent to the browser, must be vague as possible.
  • Method Details

    • getResponseMessage

      public String getResponseMessage()