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 of the browser that established the session.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 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 output has already been produced or handed out, 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.