Package edu.umd.cs.findbugs.ba
Class InvalidBytecodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Constructors Constructor Description InvalidBytecodeException(java.lang.String msg)
Constructor.InvalidBytecodeException(java.lang.String msg, java.lang.Throwable cause)
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.
-
-
-
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 exceptioncause
- 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 errormethodGen
- the methodhandle
- 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 errormethodGen
- the methodhandle
- the instructioncause
- another exception that is the cause of this exception
-
-