Package edu.umd.cs.findbugs.ba
Class AnalysisException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.umd.cs.findbugs.classfile.UncheckedAnalysisException
edu.umd.cs.findbugs.ba.AnalysisException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorDescriptionAnalysisException
(String message) Constructor.AnalysisException
(String message, Throwable throwable) Constructor from another Throwable object.AnalysisException
(String message, org.apache.bcel.generic.MethodGen methodGen, Throwable throwable) Constructor from MethodGen and another Throwable object.AnalysisException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins) Constructor from method and instruction.AnalysisException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle) Constructor from method and instruction.AnalysisException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, Throwable throwable) Constructor from method, instruction, and causing Throwable object.AnalysisException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins, Throwable throwable) Constructor from method, instruction, and causing Throwable object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AnalysisException
Constructor.- Parameters:
message
- reason for the error
-
AnalysisException
Constructor from another Throwable object. This is useful for chaining exceptions.- Parameters:
message
- reason for the errorthrowable
- cause of the error
-
AnalysisException
public AnalysisException(String message, org.apache.bcel.generic.MethodGen methodGen, Throwable throwable) Constructor from MethodGen and another Throwable object. This is useful for chaining exceptions.- Parameters:
message
- reason for the errormethodGen
- the methodthrowable
- cause of the error
-
AnalysisException
public AnalysisException(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle) Constructor from method and instruction.- Parameters:
message
- reason for the errormethodGen
- the methodhandle
- the instruction
-
AnalysisException
public AnalysisException(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins) Constructor from method and instruction.- Parameters:
message
- reason for the errormethodGen
- the methodins
- the instruction
-
AnalysisException
public AnalysisException(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, Throwable throwable) Constructor from method, instruction, and causing Throwable object.- Parameters:
message
- reason for the errormethodGen
- the methodhandle
- the instructionthrowable
- the cause of the error
-
AnalysisException
public AnalysisException(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins, Throwable throwable) Constructor from method, instruction, and causing Throwable object.- Parameters:
message
- reason for the errormethodGen
- the methodins
- the instructionthrowable
- the cause of the error
-