KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > archie > NotFoundException


1 package org.sapia.archie;
2
3
4 /**
5  * Thrown when a given node or value is not found for a given name.
6  *
7  * @author Yanick Duchesne
8  * <dl>
9  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
10  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
11  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
12  * </dl>
13  */

14 public class NotFoundException extends Exception JavaDoc {
15   
16   private Name _remaining, _resolved;
17   
18   /**
19    * Constructor for NotFoundException.
20    */

21   public NotFoundException(String JavaDoc msg) {
22     super(msg);
23   }
24   
25   public void setRemainingName(Name name){
26     _remaining = name;
27   }
28   
29   public void setResolvedName(Name name){
30     _resolved = name;
31   }
32   
33   public Name getRemainingName(){
34     return _remaining;
35   }
36   
37   public Name getResolvedName(){
38     return _resolved;
39   }
40 }
41
Popular Tags