Package rife.engine.exceptions
package rife.engine.exceptions
Provides exception classes for the web engine.
- Since:
- 1.0
-
ClassDescriptionBase class of the exceptions that the verification of a CSRF token raises, so that they can be caught and handled together.Thrown when a request that changes state provides a CSRF token that doesn't correspond to the token cookie of the browser that sent it, or that isn't signed for the user that's logged in.Thrown when a request that changes state doesn't provide a CSRF token, either because the browser didn't send a token cookie, or because the request carries neither the token parameter nor the token header.Thrown when a urlencoded form body or query string can't be parsed, or goes over the form limits.Thrown when a detached server-sent events connection can't be established since the request doesn't support asynchronous processing.Thrown when a server-sent events connection is established for a request whose response has already been written to, or whose output stream or writer has already been retrieved, since that content would precede the event stream and corrupt it.Thrown when a server-sent events connection is established for a request that already has one, since two connections over the same response would interleave their event writes and corrupt the stream.Thrown when regular response output is used after a server-sent events connection has been established for the request, since that output would corrupt the event stream.