FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Class InvalidBytecodeException

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

public class InvalidBytecodeException
extends java.lang.RuntimeException

An exception that may be thrown by frame modeling visitor classes to indicate that the method being analyzed contains invalid bytecode. For example, this can be thrown to indicate that a method invocation requires more stack operands than are available. AbstractFrameModelingVisitor will catch this exception and rethrow it as a checked DataflowAnalysisException.

Author:
David Hovemeyer
See Also:
Serialized Form

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

InvalidBytecodeException

public InvalidBytecodeException(java.lang.String msg)
Constructor.

Parameters:
msg - reason for the exception

InvalidBytecodeException

public InvalidBytecodeException(java.lang.String msg,
                                java.lang.Throwable cause)
Constructor.

Parameters:
msg - reason for the exception
cause - another exception that is the cause of this exception

InvalidBytecodeException

public InvalidBytecodeException(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

InvalidBytecodeException

public InvalidBytecodeException(java.lang.String message,
                                org.apache.bcel.generic.MethodGen methodGen,
                                org.apache.bcel.generic.InstructionHandle handle,
                                java.lang.Throwable cause)
Constructor from method and instruction.

Parameters:
message - reason for the error
methodGen - the method
handle - the instruction
cause - another exception that is the cause of this exception

FindBugs™ 1.3.9

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