fun catchDecl(types: List<TypeName>, variableName: String, block: CodeFunc): TryFlow
Render a catch block.
The exception variable is declared final.
types - Exception types to catch. More than one type will render a multi-catch.
variableName - Exception variable name.
fun catchDecl(type: TypeName, variableName: String, block: CodeFunc): TryFlowfun catchDecl(type: KClass<out Throwable>, variableName: String, block: CodeFunc): TryFlow
Render a catch block.
The exception variable is declared final.