1 | package org.columba.mail.pgp;↵ | | 1 | package org.columba.mail.pgp;↵
|
|
2 | import org.waffel.jscf.JSCFException;↵ | | 2 | import org.waffel.jscf.JSCFException;↵
|
|
|
3 | /**↵ | | 3 | /**↵
|
4 | * This Exception should be used, if the given Programm like /usr/bin/gpg cannot↵ | | |
|
5 | * found or is null. If this Exception is thrown, then we should popup an error↵ | | |
|
6 | * window with a link to the config, where the user can set the path to gpg or↵ | | |
|
7 | * disable the feature.↵ | | |
|
8 | * ↵ | | |
|
9 | * @author waffel↵ | | 4 | * @author waffel↵
|
10 | * ↵ | | 5 | *↵
|
11 | */↵ | | 6 | */↵
|
12 | public class ProgramNotFoundException extends JSCFException↵ | | 7 | public class WrongPassphraseException extends JSCFException↵
|
13 | {↵ | | |
|
14 | /**↵ | | |
|
15 | * Creates a new ProgramNotFoundException and give it the reason in the arg0↵ | | |
|
16 | * variable.↵ | | |
|
17 | * ↵ | | |
|
18 | * @param arg0↵ | | |
|
19 | * The reason as a string.↵ | | |
|
20 | */↵ | | |
|
| | | 8 | {↵
|
|
| | | 9 | /**↵
|
| | | 10 | * @param arg0↵
|
| | | 11 | */↵
|
21 | public ProgramNotFoundException (String arg0)↵ | | 12 | public WrongPassphraseException(String arg0) {↵
|
22 | {↵ | | 13 | ↵
|
23 | super(arg0);↵ | | 14 | super(arg0);↵
|
| | | 15 | ↵
|
24 | } | | 16 | }↵
|
|
| | | 17 | }
|