package org.columba.mail.pgp;
import org.waffel.jscf.JSCFException;
/**
* @author waffel
*
*/
public class CancelledException extends JSCFException {
/**
* @param arg0
*/
public CancelledException(String arg0) {
super(arg0);
}
}
package org.columba.mail.pgp;
import org.waffel.jscf.JSCFException;
/**
* This Exception should be used, if the given Programm like /usr/bin/gpg cannot
* found or is null. If this Exception is thrown, then we should popup an error
* window with a link to the config, where the user can set the path to gpg or
* disable the feature.
*
* @author waffel
*
*/
public class ProgramNotFoundException extends JSCFException
{
/**
* Creates a new ProgramNotFoundException and give it the reason in the arg0
* variable.
*
* @param arg0
* The reason as a string.
*/
public ProgramNotFoundException (String arg0)
{
super(arg0);
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pgp/CancelledException.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pgp/ProgramNotFoundException.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
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 | * ↵
|
4 | * @author waffel↵ | | 9 | * @author waffel↵
|
5 | *↵ | | 10 | * ↵
|
6 | */↵ | | 11 | */↵
|
|
7 | public class CancelledException extends JSCFException ↵ | | 12 | public class ProgramNotFoundException extends JSCFException↵
|
8 | {↵ | | 13 | {↵
|
|
9 | /**↵ | | 14 | /**↵
|
10 | ↵ | | 15 | * Creates a new ProgramNotFoundException and give it the reason in the arg0↵
|
| | | 16 | * variable.↵
|
| | | 17 | * ↵
|
11 | * @param arg0↵ | | 18 | * @param arg0↵
|
12 | */↵ | | 19 | * ↵
|
13 | public Cancelle↵ | | 20 | The reason as a string.↵
|
| | | 21 | */↵
|
14 | dException(String arg0)↵ | | 22 | public ProgramNotFoundException (String arg0)↵
|
15 | {↵ | | 23 | {↵
|
16 | super(arg0);↵ | | 24 | super(arg0);↵
|
17 | ↵ | | |
|
18 | }↵ | | 25 | }
|
|
19 | } | | | |
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |