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:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstructor.InvalidBytecodeException
(String msg, Throwable cause) Constructor.InvalidBytecodeException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle) Constructor from method and instruction.InvalidBytecodeException
(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, Throwable cause) Constructor from method and instruction. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidBytecodeException
Constructor.- Parameters:
msg
- reason for the exception
-
InvalidBytecodeException
Constructor.- Parameters:
msg
- reason for the exceptioncause
- another exception that is the cause of this exception
-
InvalidBytecodeException
public InvalidBytecodeException(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(String message, org.apache.bcel.generic.MethodGen methodGen, org.apache.bcel.generic.InstructionHandle handle, 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
-