nl.tudelft.simulation.dsol.interpreter.operations
Class ATHROW
java.lang.Object
nl.tudelft.simulation.dsol.interpreter.Operation
nl.tudelft.simulation.dsol.interpreter.operations.ATHROW
public class ATHROW
- extends Operation
The ATHROW operation as defined in
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Instructions2.doc.html
.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Since:
- 1.4
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:25:08 $
- Author:
- Peter
Jacobs Alexander
Verbraeck
Field Summary |
static int |
OP
OP refers to the operand code |
Constructor Summary |
ATHROW(int bytePosition)
constructs a new ARETURN |
OP
public static final int OP
- OP refers to the operand code
- See Also:
- Constant Field Values
ATHROW
public ATHROW(int bytePosition)
- constructs a new ARETURN
- Parameters:
the
- bytePostion in this method
execute
public Frame execute(Frame frame)
- executes the aThrow operation on a frame
- Parameters:
frame
- the frame
- Returns:
- the frame
getByteLength
public int getByteLength()
- Specified by:
getByteLength
in class Operation
- Returns:
- Returs the byteLength
- See Also:
Operation.getByteLength()
getOpcode
public int getOpcode()
- Specified by:
getOpcode
in class Operation
- Returns:
- Returns the opcode of the operation
- See Also:
Operation.getOpcode()
setBytePosition
public void setBytePosition(int bytePosition)
- sets the bytePosition of this ATROW operation
- Parameters:
bytePosition
- the bytePosition
getBytePosition
public int getBytePosition()
- Returns:
- the bytePosition
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.