Modifier and Type | Method | Description |
---|---|---|
BlockTree |
getBlock() |
Returns the code block of this catch block.
|
ExpressionTree |
getCondition() |
Returns the optional catch condition expression.
|
ExpressionTree |
getParameter() |
Returns the catch parameter identifier or parameter binding pattern of the exception caught.
|
accept, getEndPosition, getKind, getStartPosition
ExpressionTree getParameter()
BlockTree getBlock()
ExpressionTree getCondition()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2014, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2