KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > mail > pgp > ProgramNotFoundException


1 /*
2  * The contents of this file are subject to the Mozilla Public License Version
3  * 1.1 (the "License"); you may not use this file except in compliance with the
4  * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
5  *
6  * Software distributed under the License is distributed on an "AS IS" basis,
7  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
8  * the specific language governing rights and limitations under the License.
9  *
10  * The Original Code is "Java Security Component Framework"
11  *
12  * The Initial Developer of the Original Code are Thomas Wabner, alias waffel.
13  * Portions created by Thomas Wabner are Copyright (C) 2004.
14  *
15  * All Rights reserved. Created on 29.07.2004
16  *
17  */

18 package org.columba.mail.pgp;
19
20 import org.waffel.jscf.JSCFException;
21
22 /**
23  * This Exception should be used, if the given Programm like /usr/bin/gpg cannot
24  * found or is null. If this Exception is thrown, then we should popup an error
25  * window with a link to the config, where the user can set the path to gpg or
26  * disable the feature.
27  *
28  * @author waffel
29  *
30  */

31 public class ProgramNotFoundException extends JSCFException
32 {
33   /**
34    * Creates a new ProgramNotFoundException and give it the reason in the arg0
35    * variable.
36    *
37    * @param arg0
38    * The reason as a string.
39    */

40   public ProgramNotFoundException (String JavaDoc arg0)
41   {
42     super(arg0);
43   }
44
45 }
Popular Tags