1 19 20 package edu.umd.cs.findbugs.ba; 21 22 import org.apache.bcel.generic.Instruction; 23 import org.apache.bcel.generic.InstructionHandle; 24 import org.apache.bcel.generic.MethodGen; 25 26 31 public class AnalysisException extends RuntimeException { 32 35 private static final long serialVersionUID = 1L; 36 37 42 public AnalysisException(String message) { 43 super(message); 44 } 45 46 53 public AnalysisException(String message, Throwable throwable) { 54 super(message, throwable); 55 } 56 57 65 public AnalysisException(String message, MethodGen methodGen, Throwable throwable) { 66 super(message + " in " + SignatureConverter.convertMethodSignature(methodGen), throwable); 67 } 68 69 76 public AnalysisException(String message, MethodGen methodGen, InstructionHandle handle) { 77 super(message + " in " + SignatureConverter.convertMethodSignature(methodGen) + " at " + handle); 78 } 79 80 87 public AnalysisException(String message, MethodGen methodGen, Instruction ins) { 88 super(message + " in " + SignatureConverter.convertMethodSignature(methodGen) + " at " + ins); 89 } 90 91 99 public AnalysisException(String message, MethodGen methodGen, InstructionHandle handle, 100 Throwable throwable) { 101 super(message + " in " + SignatureConverter.convertMethodSignature(methodGen) + " at " + handle, throwable); 102 } 103 104 112 public AnalysisException(String message, MethodGen methodGen, Instruction ins, 113 Throwable throwable) { 114 super(message + " in " + SignatureConverter.convertMethodSignature(methodGen) + " at " + ins, throwable); 115 } 116 } 117 118 | Popular Tags |