- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.dtfj.image.DTFJException
-
- com.ibm.dtfj.image.MemoryAccessException
-
- All Implemented Interfaces:
Serializable
public class MemoryAccessException extends DTFJException
Indicates that an attempt was made to access memory which is not included within the image.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryAccessException(ImagePointer badPointer)
Build exception for the given location and descriptionMemoryAccessException(ImagePointer badPointer, String description)
Build exception for the given location and description
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagePointer
getPointer()
Get a pointer into the image where the access failed.-
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MemoryAccessException
public MemoryAccessException(ImagePointer badPointer, String description)
Build exception for the given location and description- Parameters:
badPointer
- the location which caused the access exceptiondescription
- text description
-
MemoryAccessException
public MemoryAccessException(ImagePointer badPointer)
Build exception for the given location and description- Parameters:
badPointer
- the location which caused the access exception
-
-
Method Detail
-
getPointer
public ImagePointer getPointer()
Get a pointer into the image where the access failed.- Returns:
- The pointer into the image where the access failed
-
-