public interface JCatch extends JTry
catch
branch for a try
block.JBlock.Braces
Modifier and Type | Method and Description |
---|---|
JCatch |
or(Class<? extends Throwable> orType)
Add another type option to this catch branch.
|
JCatch |
or(JType orType)
Add another type option to this catch branch.
|
JCatch |
or(String orType)
Add another type option to this catch branch.
|
_catch, _catch, _catch, _finally, ignore, ignore, ignore, with, with, with
_assert, _assert, _break, _break, _class, _continue, _continue, _do, _for, _if, _new, _new, _new, _newAnon, _newAnon, _newAnon, _return, _return, _switch, _synchronized, _throw, _try, _while, add, addAssign, andAssign, anonLabel, anonLabel, assign, blankLine, block, call, call, call, call, callStatic, callStatic, callStatic, callStatic, callSuper, callThis, divAssign, empty, forEach, forEach, forEach, forwardLabel, label, label, lshrAssign, modAssign, mulAssign, orAssign, postDec, postInc, preDec, preInc, shlAssign, shrAssign, subAssign, tempName, tempVar, tempVar, tempVar, var, var, var, var, var, var, xorAssign
blockComment, lineComment
Copyright © 2019 JBoss by Red Hat. All rights reserved.