Package xyz.cofe.trambda.bc
Class TryCatchBlock
- java.lang.Object
-
- xyz.cofe.trambda.bc.TryCatchBlock
-
- All Implemented Interfaces:
Serializable,ByteCode
public class TryCatchBlock extends Object implements ByteCode
try catch block- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TryCatchBlock()TryCatchBlock(String start, String end, String handler, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabelEnd()the end of the exception handler's scope (exclusive).StringgetLabelHandler()the beginning of the exception handler's code.StringgetLabelStart()the beginning of the exception handler's scope (inclusive).StringgetType()the internal name of the type of exceptions handled by the handler, or null to catch any exceptions (for "finally" blocks).voidsetLabelEnd(String labelEnd)voidsetLabelHandler(String labelHandler)voidsetLabelStart(String labelStart)voidsetType(String type)StringtoString()
-
-
-
Method Detail
-
getLabelStart
public String getLabelStart()
the beginning of the exception handler's scope (inclusive).- Returns:
- begin label
-
setLabelStart
public void setLabelStart(String labelStart)
-
getLabelEnd
public String getLabelEnd()
the end of the exception handler's scope (exclusive).- Returns:
- end label
-
setLabelEnd
public void setLabelEnd(String labelEnd)
-
getLabelHandler
public String getLabelHandler()
the beginning of the exception handler's code.- Returns:
- handler
-
setLabelHandler
public void setLabelHandler(String labelHandler)
-
getType
public String getType()
the internal name of the type of exceptions handled by the handler, or null to catch any exceptions (for "finally" blocks).- Returns:
- type
-
setType
public void setType(String type)
-
-