package to.etc.webapp.query;

/**
 * Thrown for all cases where a record is not found but required. Please take heed: many methods
 * return null when a record is not found instead of throwing an exception.
 *
 * @author <a href="mailto:jal@etc.to">Frits Jalvingh</a>
 * Created on Mar 11, 2010
 */
public class QNotFoundException extends QDbException {
	public QNotFoundException() {
		super("record.not.found.simple");
	}

	public QNotFoundException(Throwable x) {
		super(x, "record.not.found.simple");
	}

	public QNotFoundException(String type, Object key) {
		super("recordNotFound", type, key);
	}

	public QNotFoundException(Class< ? > type, Object key) {
		super("recordNotFound", type.getName(), key);
	}
}

@@ -352,77 +352,385 @@
  %7B%0A%09
-public QNotFoundException() %7B%0A%09%09super(%22record.not.found.simple%22);%0A%09%7D%0A
+/**%0A%09 * REMOVE AS SOON AS POSSIBLE - You are NOT ALLOWED to change the CODE for a KNOWN EXCEPTION!N!#%5E*&#!%25#*%5E$%25@*%5E$%5E@$#%5E@$#%5E*!@$13263%0A%09 */%0A%09@Deprecated%0A%09public QNotFoundException() %7B%0A%09%09super(%22record.not.found.simple%22);%0A%09%7D%0A%0A%09/**%0A%09 * REMOVE AS SOON AS POSSIBLE - You are NOT ALLOWED to change the CODE for a KNOWN EXCEPTION!N!#%5E*&#!%25#*%5E$%25@*%5E$%5E@$#%5E@$#%5E*!@$13263%0A%09 */%0A%09@Deprecated
 %0A%09pu

Update constructor with deprecations.