edu.umd.cs.findbugs.ba

Class AnalysisException

public class AnalysisException extends RuntimeException

A kind of runtime exception that can be thrown to indicate a fatal error in an analysis. It would be nice to make this a checked exception, but we can't throw those from BCEL visitors.
Constructor Summary
AnalysisException(String message)
Constructor.
AnalysisException(String message, Throwable throwable)
Constructor from another Throwable object.
AnalysisException(String message, MethodGen methodGen, Throwable throwable)
Constructor from MethodGen and another Throwable object.
AnalysisException(String message, MethodGen methodGen, InstructionHandle handle)
Constructor from method and instruction.
AnalysisException(String message, MethodGen methodGen, Instruction ins)
Constructor from method and instruction.
AnalysisException(String message, MethodGen methodGen, InstructionHandle handle, Throwable throwable)
Constructor from method, instruction, and causing Throwable object.
AnalysisException(String message, MethodGen methodGen, Instruction ins, Throwable throwable)
Constructor from method, instruction, and causing Throwable object.

Constructor Detail

AnalysisException

public AnalysisException(String message)
Constructor.

Parameters: message reason for the error

AnalysisException

public AnalysisException(String message, Throwable throwable)
Constructor from another Throwable object. This is useful for chaining exceptions.

Parameters: message reason for the error throwable cause of the error

AnalysisException

public AnalysisException(String message, MethodGen methodGen, Throwable throwable)
Constructor from MethodGen and another Throwable object. This is useful for chaining exceptions.

Parameters: message reason for the error methodGen the method throwable cause of the error

AnalysisException

public AnalysisException(String message, MethodGen methodGen, InstructionHandle handle)
Constructor from method and instruction.

Parameters: message reason for the error methodGen the method handle the instruction

AnalysisException

public AnalysisException(String message, MethodGen methodGen, Instruction ins)
Constructor from method and instruction.

Parameters: message reason for the error methodGen the method ins the instruction

AnalysisException

public AnalysisException(String message, MethodGen methodGen, InstructionHandle handle, Throwable throwable)
Constructor from method, instruction, and causing Throwable object.

Parameters: message reason for the error methodGen the method handle the instruction throwable the cause of the error

AnalysisException

public AnalysisException(String message, MethodGen methodGen, Instruction ins, Throwable throwable)
Constructor from method, instruction, and causing Throwable object.

Parameters: message reason for the error methodGen the method ins the instruction throwable the cause of the error

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.