KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jicengine > operation > ObjectNotFoundException


1 package org.jicengine.operation;
2
3 /**
4  * <p>
5  * Thrown when an object is not found from a <code>Context</code>.
6  * </p>
7  *
8  * @author timo laitinen
9  */

10 public class ObjectNotFoundException extends OperationException {
11     public ObjectNotFoundException(String JavaDoc message)
12     {
13         super(message);
14     }
15     public ObjectNotFoundException(String JavaDoc objectName,Context context)
16     {
17         super("Object '" + objectName + "' not found in context " + context);
18     }
19 }
20
Popular Tags