Try
extends Object with SerializableScala try
/catch
/finally
term
Supertypes
Object, SerializableMembers
def
apply
( expr: Term , cases: List[CaseDef] , finalizer: Option[Term] ) ( implicit ctx: Context ) : TryCreate a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>
Create a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>
def
copy
( original: Tree ) ( expr: Term , cases: List[CaseDef] , finalizer: Option[Term] ) ( implicit ctx: Context ) : Try
def
unapply
( x: Try ) ( implicit ctx: Context ) : Option[( Term, List[CaseDef], Option[Term] )]Matches a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>
Matches a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>