railo.transformer.bytecode.statement.tag
Class TagTry

java.lang.Object
  extended by railo.transformer.bytecode.statement.StatementBase
      extended by railo.transformer.bytecode.statement.tag.TagBase
          extended by railo.transformer.bytecode.statement.tag.TagTry
All Implemented Interfaces:
Statement, FlowControl, FlowControlRetry, HasBody, Tag

public final class TagTry
extends TagBase
implements FlowControlRetry


Field Summary
static org.objectweb.asm.commons.Method GET_CATCH
           
static org.objectweb.asm.commons.Method SET_CATCH_PE
           
static org.objectweb.asm.commons.Method SET_CATCH3
           
 
Fields inherited from interface railo.transformer.bytecode.statement.FlowControl
BREAK, CONTINUE, RETRY
 
Constructor Summary
TagTry(Position start, Position end)
           
 
Method Summary
 void _writeOut(BytecodeContext bc)
          write out the stament to the adater
 FlowControlFinal getFlowControlFinal()
           
 String getLabel()
           
 org.objectweb.asm.Label getRetryLabel()
           
 
Methods inherited from class railo.transformer.bytecode.statement.tag.TagBase
_writeOut, addAttribute, addMetaData, addMissingAttribute, containsAttribute, getAppendix, getAttribute, getAttributes, getBody, getFullname, getMetaData, getMissingAttributes, getTagLibTag, isScriptBase, removeAttribute, setAppendix, setBody, setFullname, setScriptBase, setTagLibTag, toString
 
Methods inherited from class railo.transformer.bytecode.statement.StatementBase
getDescendantCount, getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.transformer.bytecode.Statement
getEnd, getParent, getStart, hasFlowController, setEnd, setHasFlowController, setParent, setStart, writeOut
 

Field Detail

SET_CATCH_PE

public static final org.objectweb.asm.commons.Method SET_CATCH_PE

SET_CATCH3

public static final org.objectweb.asm.commons.Method SET_CATCH3

GET_CATCH

public static final org.objectweb.asm.commons.Method GET_CATCH
Constructor Detail

TagTry

public TagTry(Position start,
              Position end)
Method Detail

_writeOut

public void _writeOut(BytecodeContext bc)
               throws BytecodeException
Description copied from class: StatementBase
write out the stament to the adater

Overrides:
_writeOut in class TagBase
Throws:
BytecodeException
See Also:
railo.transformer.bytecode.statement.tag.TagBase#_writeOut(org.objectweb.asm.commons.GeneratorAdapter)

getFlowControlFinal

public FlowControlFinal getFlowControlFinal()
Specified by:
getFlowControlFinal in interface Statement
Returns:
return the label where the finally block of this tags starts, IF there is a finally block, otherwise return null;

getRetryLabel

public org.objectweb.asm.Label getRetryLabel()
Specified by:
getRetryLabel in interface FlowControlRetry

getLabel

public String getLabel()
Specified by:
getLabel in interface FlowControl


Copyright © 2012 Railo