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:
- java.io.Serializable
public class MethodUnprofitableException
- extends CFGBuilderException
Used to signal a method not analyzed because it seemed unprofitable to do so
- Author:
- pugh
- See Also:
- Serialized Form
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 |
MethodUnprofitableException
public MethodUnprofitableException(JavaClassAndMethod method)
- 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
public MethodUnprofitableException(MethodDescriptor methodDescriptor)
- Constructor.
- Parameters:
methodDescriptor
- the MethodDescriptor indicating the method it is unprofitable to analyze
getMethod
public XMethod getMethod()
- Returns:
- the method that is unprofitable to analyze
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.