org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model.deep
Interface CsmExceptionHandler

All Superinterfaces:
CsmCompoundStatement, CsmObject, CsmOffsetable, CsmScope, CsmScopeElement, CsmStatement

public interface CsmExceptionHandler
extends CsmCompoundStatement, CsmScope

Represents exception handler - catch( exception-decl ) { ... } construction


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
CsmStatement.Kind
 
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
CsmOffsetable.Position
 
Method Summary
 CsmParameter getParameter()
          Returns exception declaration or null in case of cath(...)
 boolean isCatchAll()
          Returns true if this is catch-all statement: catch(...) TODO: perhaps this is unnecessary, since getParameter==null <==> isCatchAll==true
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmCompoundStatement
getStatements
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.deep.CsmStatement
getKind
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable
getContainingFile, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScopeElement
getScope
 
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScope
getScopeElements
 

Method Detail

getParameter

CsmParameter getParameter()
Returns exception declaration or null in case of cath(...)


isCatchAll

boolean isCatchAll()
Returns true if this is catch-all statement: catch(...) TODO: perhaps this is unnecessary, since getParameter==null <==> isCatchAll==true


org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 193 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close