Package edu.umd.cs.findbugs.ba
Class MethodUnprofitableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.umd.cs.findbugs.classfile.CheckedAnalysisException
edu.umd.cs.findbugs.ba.CFGBuilderException
edu.umd.cs.findbugs.ba.MethodUnprofitableException
- All Implemented Interfaces:
Serializable
Used to signal a method not analyzed because it seemed unprofitable to do so
- Author:
- pugh
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.MethodUnprofitableException
(MethodDescriptor methodDescriptor) Constructor.MethodUnprofitableException
(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Method method) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MethodUnprofitableException
Constructor.- Parameters:
method
- the method that is unprofitable to analyze
-
MethodUnprofitableException
public MethodUnprofitableException(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Method method) Constructor.- Parameters:
jClass
- the class containing the method that is unprofitable to analyzemethod
- the method that is unprofitable to analyze
-
MethodUnprofitableException
Constructor.- Parameters:
methodDescriptor
- the MethodDescriptor indicating the method it is unprofitable to analyze
-
-
Method Details
-
getMethod
- Returns:
- the method that is unprofitable to analyze
-