Package org.apache.unomi.rest.exception
Class InvalidRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.unomi.rest.exception.InvalidRequestException
- All Implemented Interfaces:
Serializable
Exception throw when the request exceed the configured limit size
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidRequestException
(String message, String responseMessage) Build an invalid request -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidRequestException
Build an invalid request- Parameters:
message
- message in the logs. It contains detailed informationresponseMessage
- message in the response, sent to the browser, must be vague as possible.
-
-
Method Details
-
getResponseMessage
-