class OnTryStatement[A] extends AnyRef
- Alphabetic
- By Inheritance
- OnTryStatement
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OnTryStatement(tryBlock: ⇒ A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
onFinally(finallyBlock: ⇒ Any): A
Executes an
onTry { tryBlock } onFinally { finallyBlock }statement.Executes an
onTry { tryBlock } onFinally { finallyBlock }statement.This statement has the same semantics like the built-in
try { tryBlock } finally { finallyBlock }statement except that if thefinallyBlockthrows a non-fatal Throwablet2, then this throwable gets added to the throwablet1from thetryBlockusingt1.addSuppressed(t2).- finallyBlock
the code block to unconditionally execute after the
tryBlock.- returns
the return value of the
tryBlock.
-
final
def
onNonFatal(throwBlock: ⇒ Any): A
Executes an
onTry { tryBlock } onNonFatal { throwBlock }statement.Executes an
onTry { tryBlock } onNonFatal { throwBlock }statement.This statement executes the
throwBlockif and only if thetryBlockthrows a non-fatal Throwable. If thethrowBlockthrows a non-fatal Throwablet2, then this throwable gets added to the throwablet1from thetryBlockusingt1.addSuppressed(t2).- throwBlock
the code block to execute if and only if the
tryBlockthrows a non-fatal Throwable.- returns
the return value of the
tryBlock.
-
final
def
onThrowable(throwBlock: ⇒ Any): A
Executes an
onTry { tryBlock } onThrowable { throwBlock }statement.Executes an
onTry { tryBlock } onThrowable { throwBlock }statement.This statement executes the
throwBlockif and only if thetryBlockthrows a Throwable. If thethrowBlockthrows a non-fatal Throwablet2, then this throwable gets added to the throwablet1from thetryBlockusingt1.addSuppressed(t2).- throwBlock
the code block to execute if and only if the
tryBlockthrows a Throwable.- returns
the return value of the
tryBlock.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )