KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > cms > NoSuchURIException


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under LGPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portal.cms;
12
13 /**
14  * Signals an URI does not exists.
15  *
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.3 $
18  */

19 public class NoSuchURIException extends NodeException
20 {
21
22    public NoSuchURIException(String JavaDoc uri)
23    {
24       super(uri, "URI " + uri + " not found");
25    }
26
27    public NoSuchURIException(String JavaDoc uri, Throwable JavaDoc cause)
28    {
29       super(uri, "URI " + uri + " not found", cause);
30    }
31 }
32
Popular Tags