com.cmpware.cmp.mmio
Class MemoryMappedIOException

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

public class MemoryMappedIOException
extends MemoryAccessException

This class implements the Memory Mapped IO Exception. This is used to indicate that a Memory Mapped IO read or write could not complete because the communication resource is busy. This typically causes a stall and a retry in the processor.

Copyright (c) 2004, 2005 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
           
 
Fields inherited from class com.cmpware.cmp.MemoryAccessException
addr, data, isWrite
 
Constructor Summary
MemoryMappedIOException()
          The constructor
MemoryMappedIOException(int addr)
          A constructor.
MemoryMappedIOException(int addr, int data)
          A constructor.
MemoryMappedIOException(java.lang.String msg)
          A constructor.
MemoryMappedIOException(java.lang.String msg, int addr)
          A constructor.
MemoryMappedIOException(java.lang.String msg, int addr, int data)
          A constructor.
 
Method Summary
 
Methods inherited from class com.cmpware.cmp.MemoryAccessException
getAddress, getData, isWrite
 
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

MemoryMappedIOException

public MemoryMappedIOException()
The constructor


MemoryMappedIOException

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

Parameters:
msg - The exception message string.

MemoryMappedIOException

public MemoryMappedIOException(java.lang.String msg,
                               int addr)
A constructor. This is used primarily for reads, where the data read may not be available.

Parameters:
msg - The exception message string.
addr - The address of the memory access which caused the exception.

MemoryMappedIOException

public MemoryMappedIOException(int addr)
A constructor. This is used primarily for reads, where the data read may not be available.

Parameters:
addr - The address of the memory access which caused the exception.

MemoryMappedIOException

public MemoryMappedIOException(java.lang.String msg,
                               int addr,
                               int data)
A constructor. This is used primarily for writes, where the data being written may be useful.

Parameters:
msg - The exception message string.
addr - The address of the memory access which caused the exception.
data - If the access is a write, this parameter contains the data attempted to be written when the exception occurred.

MemoryMappedIOException

public MemoryMappedIOException(int addr,
                               int data)
A constructor. This is used primarily for writes, where the data being written may be useful.

Parameters:
addr - The address of the memory access which caused the exception.
data - If the access is a write, this parameter contains the data attempted to be written when the exception occurred.