com.cmpware.cmp
Class IllegalOpcodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cmpware.cmp.IllegalOpcodeException
All Implemented Interfaces:
java.io.Serializable

public class IllegalOpcodeException
extends java.lang.Exception

This class implements the Illegal Opcode Exception. This is thrown whenever an attempt is made to execute an illegal opcode.

Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.

Author:
SAG
See Also:
Serialized Form

Field Summary
static java.lang.String copyright
          Copyright string
(package private) static long serialVersionUID
           
 
Constructor Summary
IllegalOpcodeException()
          The constructor
IllegalOpcodeException(int opcode)
          A constructor.
IllegalOpcodeException(java.lang.String msg)
          A constructor
IllegalOpcodeException(java.lang.String msg, int opcode)
          A constructor.
 
Method Summary
 int getOpcode()
          This method returns the opcode that caused the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

IllegalOpcodeException

public IllegalOpcodeException()
The constructor


IllegalOpcodeException

public IllegalOpcodeException(java.lang.String msg)
A constructor

Parameters:
msg - The exception message string.

IllegalOpcodeException

public IllegalOpcodeException(java.lang.String msg,
                              int opcode)
A constructor.

Parameters:
msg - The exception message string.
opcode - The offending opcode.

IllegalOpcodeException

public IllegalOpcodeException(int opcode)
A constructor.

Parameters:
opcode - The offending opcode.
Method Detail

getOpcode

public int getOpcode()
This method returns the opcode that caused the exception.

Returns:
This method returns the opcode that caused the exception.