01: package org.jicengine.operation;
02:
03: /**
04: * <p>
05: * Thrown when an object is not found from a <code>Context</code>.
06: * </p>
07: *
08: * @author timo laitinen
09: */
10: public class ObjectNotFoundException extends OperationException {
11: public ObjectNotFoundException(String message) {
12: super (message);
13: }
14:
15: public ObjectNotFoundException(String objectName, Context context) {
16: super ("Object '" + objectName + "' not found in context "
17: + context);
18: }
19: }
|