com.cmpware.cmp
Class IllegalRegisterException

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

public class IllegalRegisterException
extends java.lang.Exception

This class implements the Illegal Register Exception. This is thrown whenever an illegal register access is made.

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
IllegalRegisterException()
          The constructor
IllegalRegisterException(int registerIndex)
          A constructor.
IllegalRegisterException(java.lang.String msg)
          A constructor
IllegalRegisterException(java.lang.String msg, int registerIndex)
          A constructor.
 
Method Summary
 int getRegisterIndex()
          This method returns the memory address 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

IllegalRegisterException

public IllegalRegisterException()
The constructor


IllegalRegisterException

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

Parameters:
msg - The exception message string.

IllegalRegisterException

public IllegalRegisterException(java.lang.String msg,
                                int registerIndex)
A constructor.

Parameters:
msg - The exception message string.
registerIndex - The register index that caused the exception

IllegalRegisterException

public IllegalRegisterException(int registerIndex)
A constructor.

Parameters:
registerIndex - The register index that caused the exception
Method Detail

getRegisterIndex

public int getRegisterIndex()
This method returns the memory address that caused the exception.

Returns:
This method returns the memory address that caused the exception.