com.ibm.dtfj.image

Class MemoryAccessException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.dtfj.image.DTFJException
  5. extended bycom.ibm.dtfj.image.MemoryAccessException
All implemented interfaces:
java.io.Serializable

  1. public class MemoryAccessException
  2. extends DTFJException
Indicates that an attempt was made to access memory which is not included within the image.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
MemoryAccessException(ImagePointer badPointer)
Build exception for the given location and description
MemoryAccessException(ImagePointer badPointer,java.lang.String description)
Build exception for the given location and description

Method Summary

Modifier and Type Method and Description
  1. ImagePointer
getPointer()
Get a pointer into the image where the access failed.
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

MemoryAccessException

  1. public MemoryAccessException(ImagePointer badPointer,
  2. java.lang.String description)
Build exception for the given location and description
Parameters:
badPointer - the location which caused the access exception
description - text description

MemoryAccessException

  1. public MemoryAccessException(ImagePointer badPointer)
Build exception for the given location and description
Parameters:
badPointer - the location which caused the access exception

Method Detail

getPointer

  1. public ImagePointer getPointer( )
Get a pointer into the image where the access failed.
Returns:
The pointer into the image where the access failed