com.ibm.wala.shrikeCT
Class InvalidClassFileException

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

public class InvalidClassFileException
extends java.lang.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 Summary
InvalidClassFileException(int offset, java.lang.String s)
          The incoming class file is invalid.
 
Method Summary
 int getOffset()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidClassFileException

public InvalidClassFileException(int offset,
                                 java.lang.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