public WrappedException(Exception exception)
{
super(exception);
}
/**
* Creates an instance with it's own message that wraps the exception.
* @param message the message.
* @param exception the exception to wrap.
*/
public WrappedException(String message, Exception exception)
{
super(message, exception);
public XMIException(Exception exception)
{
super(exception);
}
public XMIException(String message, Exception exception)
{
super(message, exception);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/util/WrappedException.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/XMIException.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public WrappedException(Exception exception)↵ | | 1 | public XMIException(Exception exception)↵
|
2 | {↵ | | 2 | {↵
|
3 | super(exception);↵ | | 3 | super(exception);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | ↵
|
6 | * Creates an instance with it's own message that wraps the exception.↵ | | |
|
7 | * @param message the message.↵ | | |
|
8 | * @param exception the exception to wrap.↵ | | |
|
9 | */↵ | | |
|
10 | public WrappedException(String message, Exception exception)↵ | | 6 | public XMIException(String message, Exception exception)↵
|
11 | {↵ | | 7 | {↵
|
12 | super(message, exception); | | 8 | super(message, exception);
|
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 |