Interface TryBlock

All Superinterfaces:
BlockContainer, Commentable, EObject, Notifier, Statement, StatementListContainer
All Known Implementing Classes:
TryBlockImpl

public interface TryBlock extends Statement, StatementListContainer, BlockContainer
A representation of the model object 'Try Block'.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Method Details

    • getResources

      EList<Resource> getResources()
      Returns the value of the 'Resources' containment reference list. The list contents are of type Resource.
      Returns:
      the value of the 'Resources' containment reference list.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true"
    • getCatchBlocks

      EList<CatchBlock> getCatchBlocks()
      Returns the value of the 'Catch Blocks' containment reference list. The list contents are of type CatchBlock.
      Returns:
      the value of the 'Catch Blocks' containment reference list.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true"
    • getFinallyBlock

      Block getFinallyBlock()
      Returns the value of the 'Finally Block' containment reference.
      Returns:
      the value of the 'Finally Block' containment reference.
      See Also:
      Generated class or method.
      EMF model class or method.
      containment="true" resolveProxies="true"
    • setFinallyBlock

      void setFinallyBlock(Block value)
      Sets the value of the 'Finally Block' containment reference.
      Parameters:
      value - the new value of the 'Finally Block' containment reference.
      See Also:
      Generated class or method.
    • getCatcheBlocks

      EList<CatchBlock> getCatcheBlocks()
      Generated class or method.
      EMF model class or method.
      kind="operation" required="true" many="false"
    • getStatements

      EList<Statement> getStatements()
      Specified by:
      getStatements in interface StatementListContainer
      Generated class or method.
      EMF model class or method.
      kind="operation" required="true" many="false"