.circumflex-web.2.0.2.source-code.exception.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of circumflex-web Show documentation
Show all versions of circumflex-web Show documentation
Circumflex Web Framework is a lightweight framework
for quick and robust application development using Scala
programming language.
package ru.circumflex.web
import ru.circumflex.core._
import util.control.ControlThrowable
/*!# Exceptions
The `ResponseSentException` are thrown by response helpers and routes upon successful matching
and are caught by `CircumflexFilter`. They indicate that the response has been processed
successfully (and, possibly, already flushed to the client) and that no additional actions
need to be taken.
*/
/**
* Indicates that the response has been flushed to the client and that further processing
* must be stopped.
*
* For more information refer to
* exception.scala.
*/
class ResponseSentException extends CircumflexException("The response has been sent.")
with ControlThrowable