oracle.jdeveloper.jot
Interface JotCatch
- All Superinterfaces:
- JotCodeElement, JotElement, JotHasCodeBlock
- public interface JotCatch
- extends JotHasCodeBlock, JotCodeElement
A JotCatch instance represents a catch
clause of a
try
statement.
- Since:
- 5.0
- See Also:
JotTry
,
"Section 14.19 of the Java Language Specification."
Methods inherited from interface oracle.jdeveloper.jot.JotCodeElement |
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
getExceptionType
public JotParameter getExceptionType()
throws JotInvalidElementException
- Retrieves the exception type being caught by
this JotCatch.
- Returns:
- a JotParameter representing the exception
type declared as caught by this JotCatch.
- Throws:
JotInvalidElementException
Copyright © 1997, 2004, Oracle. All rights reserved.