What this is
This file is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn
Java by Example" TM.
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
* Microsystems, Inc. All Rights Reserved.
*
*/
package org.netbeans.jmi.javamodel;
/**
* TryStatement object instance interface.
* Represents "try" statement.
*
* Note: This type should not be subclassed or implemented by
* clients. It is generated from a MOF metamodel and automatically implemented
* by MDR (see mdr.netbeans.org)
*/
public interface TryStatement extends org.netbeans.jmi.javamodel.Statement {
/**
* Returns the value of attribute body.
* Body of the try statement.
* @return Value of attribute body.
*/
public org.netbeans.jmi.javamodel.StatementBlock getBody();
/**
* Sets the value of body attribute. See {@link #getBody} for description
* on the attribute.
* @param newValue New value to be set.
*/
public void setBody(org.netbeans.jmi.javamodel.StatementBlock newValue);
/**
* Returns the value of attribute catches.
* List of catch clauses of this try statement.
* @return Value of catches attribute.
*/
public java.util.List getCatches();
/**
* Returns the value of attribute finalizer.
* Body of finally clause.
* @return Value of attribute finalizer.
*/
public org.netbeans.jmi.javamodel.StatementBlock getFinalizer();
/**
* Sets the value of finalizer attribute. See {@link #getFinalizer} for description
* on the attribute.
* @param newValue New value to be set.
*/
public void setFinalizer(org.netbeans.jmi.javamodel.StatementBlock newValue);
}
|