edu.umd.cs.findbugs.ba

Class InvalidBytecodeException

public class InvalidBytecodeException extends 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

Constructor Summary
InvalidBytecodeException(String msg)
Constructor.
InvalidBytecodeException(String msg, Throwable cause)
Constructor.
InvalidBytecodeException(String message, MethodGen methodGen, InstructionHandle handle)
Constructor from method and instruction.
InvalidBytecodeException(String message, MethodGen methodGen, InstructionHandle handle, Throwable cause)
Constructor from method and instruction.

Constructor Detail

InvalidBytecodeException

public InvalidBytecodeException(String msg)
Constructor.

Parameters: msg reason for the exception

InvalidBytecodeException

public InvalidBytecodeException(String msg, Throwable cause)
Constructor.

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

InvalidBytecodeException

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

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

InvalidBytecodeException

public InvalidBytecodeException(String message, MethodGen methodGen, InstructionHandle handle, 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™ is licenced under the LGPL. Copyright © 2006 University of Maryland.