org.extex.ocpware.compiler.exception
Class IllegalOpcodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.extex.ocpware.compiler.exception.IllegalOpcodeException
All Implemented Interfaces:
java.io.Serializable

public class IllegalOpcodeException
extends java.lang.RuntimeException

This exception indicates that an op code of an ΩCP instruction has been encountered which is not defined.

Version:
$Revision: 6017 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
IllegalOpcodeException(int n)
          Creates a new object.
 
Method Summary
 java.lang.String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalOpcodeException

public IllegalOpcodeException(int n)
Creates a new object.

Parameters:
n - the number encountered
Method Detail

getMessage

public java.lang.String getMessage()

Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()