KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ra > NotFoundException


1 /*************************************************************************
2  * *
3  * EJBCA: The OpenSource Certificate Authority *
4  * *
5  * This software is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or any later version. *
9  * *
10  * See terms of license at gnu.org. *
11  * *
12  *************************************************************************/

13  
14 package org.ejbca.core.model.ra;
15
16 import org.ejbca.core.EjbcaException;
17
18
19 /**
20  * Thrown when an objekt cannot be found in the database and the error is not critical so we want
21  * to inform the client in a nice way.
22  *
23  * @version $Id: NotFoundException.java,v 1.2 2006/09/20 15:44:58 anatom Exp $
24  */

25 public class NotFoundException extends EjbcaException {
26     /**
27      * Constructor used to create exception with an errormessage. Calls the same constructor in
28      * baseclass <code>Exception</code>.
29      *
30      * @param message Human redable error message, can not be NULL.
31      */

32     public NotFoundException(String JavaDoc message) {
33         super(message);
34     }
35     public NotFoundException(String JavaDoc message, Throwable JavaDoc cause) {
36         super(message);
37         super.initCause(cause);
38     }
39 }
40
Popular Tags