Class Analyzer.FailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.wala.shrike.shrikeBT.analysis.Analyzer.FailureException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Analyzer
public static final class Analyzer.FailureException extends java.lang.ExceptionThis exception is thrown by verify() when it fails.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOffset()java.util.List<Analyzer.PathElement>getPath()java.lang.StringgetReason()voidprintPath(java.io.Writer w)Print the path to the given stream, if there is one.
-
-
-
Method Detail
-
getOffset
public int getOffset()
- Returns:
- the index of the Instruction which failed to verify
-
getReason
public java.lang.String getReason()
- Returns:
- a description of the reason why verification failed
-
getPath
public java.util.List<Analyzer.PathElement> getPath()
- Returns:
- a list of PathElements describing how the type that caused the error was propagated from its origin to the point of the error
-
printPath
public void printPath(java.io.Writer w) throws java.io.IOExceptionPrint the path to the given stream, if there is one.- Throws:
java.io.IOException
-
-