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
- Alphabetic
- By Inheritance
- Catch
- Serializable
- Serializable
- Product
- Equals
- Keyword
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Catch[Domain, Value], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
apply[Domain](handler: (Value) ⇒ Domain)(implicit dsl: Dsl[Catch[Domain, Value], Domain, Value]): Domain
An alias to cpsApply.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val block: !![Domain, Value]
- val catcher: Catcher[!![Domain, Value]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
cpsApply[Domain](handler: (Value) ⇒ Domain)(implicit dsl: Dsl[Catch[Domain, Value], Domain, Value]): Domain
- Definition Classes
- Keyword
- Annotations
- @inline()
- def ensuring(cond: (Catch[Domain, Value]) ⇒ Boolean, msg: ⇒ Any): Catch[Domain, Value]
- def ensuring(cond: (Catch[Domain, Value]) ⇒ Boolean): Catch[Domain, Value]
- def ensuring(cond: Boolean, msg: ⇒ Any): Catch[Domain, Value]
- def ensuring(cond: Boolean): Catch[Domain, Value]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- final def unary_!: Value
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Catch[Domain, Value], B)