Class InvalidClassFileException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.wala.shrike.shrikeCT.InvalidClassFileException
All Implemented Interfaces:
Serializable

public class InvalidClassFileException extends Exception
This exception is thrown when we detect that the incoming class file data was not a valid class file.
See Also:
  • Constructor Details

    • InvalidClassFileException

      public InvalidClassFileException(int offset, String s)
      The incoming class file is invalid.
      Parameters:
      offset - the offset within the data where the invalidity was detected
      s - the reason the data is invalid
  • Method Details

    • getOffset

      public int getOffset()
      Returns:
      the offset within the data where the problem was detected