FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Class MethodUnprofitableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.umd.cs.findbugs.classfile.CheckedAnalysisException
              extended by edu.umd.cs.findbugs.ba.CFGBuilderException
                  extended by 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

Constructor Summary
MethodUnprofitableException(JavaClassAndMethod method)
          Constructor.
MethodUnprofitableException(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Method method)
          Constructor.
MethodUnprofitableException(MethodDescriptor methodDescriptor)
          Constructor.
 
Method Summary
 XMethod getMethod()
           
 
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
 

Constructor Detail

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 analyze
method - 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
Method Detail

getMethod

public XMethod getMethod()
Returns:
the method that is unprofitable to analyze

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.