1 30 package com.tc.asm.tree.analysis; 31 32 38 public class AnalyzerException extends Exception { 39 40 public AnalyzerException(final String msg) { 41 super(msg); 42 } 43 44 public AnalyzerException(final String msg, final Throwable exception) { 45 super(msg, exception); 46 } 47 48 public AnalyzerException( 49 final String msg, 50 final Object expected, 51 final Value encountered) 52 { 53 super((msg == null ? "Expected " : msg + ": expected ") + expected 54 + ", but found " + encountered); 55 } 56 } 57 | Popular Tags |