throw new IllegalStateException("Unknown format key " + key);
throw new IllegalArgumentException("Unknown format key " + key);
	public String format(String key) {		if (key.equals("")) {			StringBuffer buf = new StringBuffer();			buf.append(sourceFile);			appendLines(buf);			return buf.toString();		} else if (key.equals("lineNumber")) {			StringBuffer buf = new StringBuffer();			appendLinesRaw(buf);			return buf.toString();		} else if (key.equals("full")) {			StringBuffer buf = new StringBuffer();			String pkgName = getPackageName();			if (!pkgName.equals("")) {				buf.append(pkgName.replace('.', '/'));				buf.append('/');			}			buf.append(sourceFile);			appendLines(buf);			return buf.toString();		} else			throw new IllegalStateException("Unknown format key " + key);	}