Class/Object

com.thoughtworks.dsl.keywords

Catch

Related Docs: object Catch | package keywords

Permalink

final case class Catch[Domain, Value](block: !![Domain, Value], catcher: Catcher[!![Domain, Value]]) extends Keyword[Catch[Domain, Value], Value] with Product with Serializable

Author:

杨博 (Yang Bo)

Annotations
@deprecated
Deprecated

(Since version Dsl.scala 1.4.0) keywords.Catch will be removed in favor of Dsl.TryCatch.

Source
Catch.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Keyword[Catch[Domain, Value], Value], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Catch
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Keyword
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Catch(block: !![Domain, Value], catcher: Catcher[!![Domain, Value]])

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to ArrowAssoc[Catch[Domain, Value]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def apply[Domain](handler: (Value) ⇒ Domain)(implicit dsl: Dsl[Catch[Domain, Value], Domain, Value]): Domain

    Permalink

    An alias to cpsApply.

    An alias to cpsApply.

    Definition Classes
    Keyword
    Annotations
    @inline()
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val block: !![Domain, Value]

    Permalink
  9. val catcher: Catcher[!![Domain, Value]]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def cpsApply[Domain](handler: (Value) ⇒ Domain)(implicit dsl: Dsl[Catch[Domain, Value], Domain, Value]): Domain

    Permalink
    Definition Classes
    Keyword
    Annotations
    @inline()
  12. def ensuring(cond: (Catch[Domain, Value]) ⇒ Boolean, msg: ⇒ Any): Catch[Domain, Value]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to Ensuring[Catch[Domain, Value]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Catch[Domain, Value]) ⇒ Boolean): Catch[Domain, Value]

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to Ensuring[Catch[Domain, Value]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Catch[Domain, Value]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to Ensuring[Catch[Domain, Value]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to StringFormat[Catch[Domain, Value]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def unary_!: Value

    Permalink
    Definition Classes
    Keyword
    Annotations
    @shift() @compileTimeOnly( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def [B](y: B): (Catch[Domain, Value], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Catch[Domain, Value] to ArrowAssoc[Catch[Domain, Value]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Keyword[Catch[Domain, Value], Value]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Catch[Domain, Value] to any2stringadd[Catch[Domain, Value]]

Inherited by implicit conversion StringFormat from Catch[Domain, Value] to StringFormat[Catch[Domain, Value]]

Inherited by implicit conversion Ensuring from Catch[Domain, Value] to Ensuring[Catch[Domain, Value]]

Inherited by implicit conversion ArrowAssoc from Catch[Domain, Value] to ArrowAssoc[Catch[Domain, Value]]

Ungrouped