Class 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:
    Serialized Form
    • Constructor Detail

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

      • getOffset

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