akka.http.scaladsl.server

ExceptionHandler

trait ExceptionHandler extends PF

Source
ExceptionHandler.scala
Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExceptionHandler
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
Implicitly
  1. by apply
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(v1: Throwable): (RequestContext) ⇒ Future[RouteResult]

    Definition Classes
    Function1
  2. abstract def isDefinedAt(x: Throwable): Boolean

    Definition Classes
    PartialFunction
  3. abstract def seal(settings: RoutingSettings): ExceptionHandler

    "Seals" this handler by attaching a default handler as fallback if necessary.

  4. abstract def withFallback(that: ExceptionHandler): ExceptionHandler

    Creates a new ExceptionHandler which uses the given one as fallback for this one.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ExceptionHandler, B)

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ArrowAssoc[ExceptionHandler] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def andThen[C](k: ((RequestContext) ⇒ Future[RouteResult]) ⇒ C): PartialFunction[Throwable, C]

    Definition Classes
    PartialFunction → Function1
  9. def applyOrElse[A1 <: Throwable, B1 >: (RequestContext) ⇒ Future[RouteResult]](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compose[A](g: (A) ⇒ Throwable): (A) ⇒ (RequestContext) ⇒ Future[RouteResult]

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. def ensuring(cond: (ExceptionHandler) ⇒ Boolean, msg: ⇒ Any): ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to Ensuring[ExceptionHandler] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (ExceptionHandler) ⇒ Boolean): ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to Ensuring[ExceptionHandler] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to Ensuring[ExceptionHandler] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to Ensuring[ExceptionHandler] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def lift: (Throwable) ⇒ Option[(RequestContext) ⇒ Future[RouteResult]]

    Definition Classes
    PartialFunction
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def orElse[A1 <: Throwable, B1 >: (RequestContext) ⇒ Future[RouteResult]](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  29. def runWith[U](action: ((RequestContext) ⇒ Future[RouteResult]) ⇒ U): (Throwable) ⇒ Boolean

    Definition Classes
    PartialFunction
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (ExceptionHandler, B)

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ArrowAssoc[ExceptionHandler] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def andThen[C](k: ((RequestContext) ⇒ Future[RouteResult]) ⇒ C): PartialFunction[Throwable, C]

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).andThen(k)
    Definition Classes
    PartialFunction → Function1
  2. def apply(v1: Throwable): (RequestContext) ⇒ Future[RouteResult]

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).apply(v1)
    Definition Classes
    Function1
  3. def applyOrElse[A1 <: Throwable, B1 >: (RequestContext) ⇒ Future[RouteResult]](x: A1, default: (A1) ⇒ B1): B1

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).applyOrElse(x, default)
    Definition Classes
    PartialFunction
  4. def compose[A](g: (A) ⇒ Throwable): (A) ⇒ (RequestContext) ⇒ Future[RouteResult]

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).compose(g)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def isDefinedAt(x: Throwable): Boolean

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).isDefinedAt(x)
    Definition Classes
    PartialFunction
  6. def lift: (Throwable) ⇒ Option[(RequestContext) ⇒ Future[RouteResult]]

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).lift
    Definition Classes
    PartialFunction
  7. def orElse[A1 <: Throwable, B1 >: (RequestContext) ⇒ Future[RouteResult]](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).orElse(that)
    Definition Classes
    PartialFunction
  8. def runWith[U](action: ((RequestContext) ⇒ Future[RouteResult]) ⇒ U): (Throwable) ⇒ Boolean

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).runWith(action)
    Definition Classes
    PartialFunction
  9. def seal(settings: RoutingSettings): ExceptionHandler

    "Seals" this handler by attaching a default handler as fallback if necessary.

    "Seals" this handler by attaching a default handler as fallback if necessary.

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).seal(settings)
  10. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (exceptionHandler: StringAdd).self
    Definition Classes
    StringAdd
  11. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (exceptionHandler: StringFormat).self
    Definition Classes
    StringFormat
  12. def toString(): String

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).toString()
    Definition Classes
    Function1 → AnyRef → Any
  13. def withFallback(that: ExceptionHandler): ExceptionHandler

    Creates a new ExceptionHandler which uses the given one as fallback for this one.

    Creates a new ExceptionHandler which uses the given one as fallback for this one.

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ExceptionHandler performed by method apply in akka.http.scaladsl.server.ExceptionHandler.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (exceptionHandler: ExceptionHandler).withFallback(that)

Deprecated Value Members

  1. def x: ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to ArrowAssoc[ExceptionHandler] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (exceptionHandler: ArrowAssoc[ExceptionHandler]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ExceptionHandler

    Implicit information
    This member is added by an implicit conversion from ExceptionHandler to Ensuring[ExceptionHandler] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (exceptionHandler: Ensuring[ExceptionHandler]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from PartialFunction[Throwable, (RequestContext) ⇒ Future[RouteResult]]

Inherited from (Throwable) ⇒ (RequestContext) ⇒ Future[RouteResult]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion apply from ExceptionHandler to ExceptionHandler

Inherited by implicit conversion any2stringadd from ExceptionHandler to StringAdd

Inherited by implicit conversion any2stringfmt from ExceptionHandler to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ExceptionHandler to ArrowAssoc[ExceptionHandler]

Inherited by implicit conversion any2Ensuring from ExceptionHandler to Ensuring[ExceptionHandler]

Ungrouped