FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Class AnalysisException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.umd.cs.findbugs.classfile.UncheckedAnalysisException
                  extended by edu.umd.cs.findbugs.ba.AnalysisException
All Implemented Interfaces:
java.io.Serializable

public class AnalysisException
extends UncheckedAnalysisException

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:
Serialized Form

Constructor Summary
AnalysisException(java.lang.String message)
          Constructor.
AnalysisException(java.lang.String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins)
          Constructor from method and instruction.
AnalysisException(java.lang.String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle)
          Constructor from method and instruction.
AnalysisException(java.lang.String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, java.lang.Throwable throwable)
          Constructor from method, instruction, and causing Throwable object.
AnalysisException(java.lang.String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.Instruction ins, java.lang.Throwable throwable)
          Constructor from method, instruction, and causing Throwable object.
AnalysisException(java.lang.String message, org.apache.bcel.generic.MethodGen methodGen, java.lang.Throwable throwable)
          Constructor from MethodGen and another Throwable object.
AnalysisException(java.lang.String message, java.lang.Throwable throwable)
          Constructor from another Throwable object.
 
Method Summary
 
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

AnalysisException

public AnalysisException(java.lang.String message)
Constructor.

Parameters:
message - reason for the error

AnalysisException

public AnalysisException(java.lang.String message,
                         java.lang.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(java.lang.String message,
                         org.apache.bcel.generic.MethodGen methodGen,
                         java.lang.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(java.lang.String message,
                         org.apache.bcel.generic.MethodGen methodGen,
                         org.apache.bcel.generic.InstructionHandle handle)
Constructor from method and instruction.

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

AnalysisException

public AnalysisException(java.lang.String message,
                         org.apache.bcel.generic.MethodGen methodGen,
                         org.apache.bcel.generic.Instruction ins)
Constructor from method and instruction.

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

AnalysisException

public AnalysisException(java.lang.String message,
                         org.apache.bcel.generic.MethodGen methodGen,
                         org.apache.bcel.generic.InstructionHandle handle,
                         java.lang.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(java.lang.String message,
                         org.apache.bcel.generic.MethodGen methodGen,
                         org.apache.bcel.generic.Instruction ins,
                         java.lang.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™ 1.3.9

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