Module openj9.dtfj

Class 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 Detail

      • MemoryAccessException

        public MemoryAccessException​(ImagePointer badPointer,
                                     String description)
        Build exception for the given location and description
        Parameters:
        badPointer - the location which caused the access exception
        description - 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