public class PackageNotFoundException extends XMIException
{
private static final long serialVersionUID = 1L;
protected String uri;
public PackageNotFoundException(String uri, String location, int line, int column)
{
super("Package with uri '" + uri + "' not found.", location, line, column);
this.uri = uri;
}
public String uri()
{
return uri;
public class UnresolvedReferenceException extends XMIException
{
private static final long serialVersionUID = 1L;
protected String reference;
public UnresolvedReferenceException(String reference, String location, int line, int column)
{
super("Unresolved reference '" + reference + "'.", location, line, column);
this.reference = reference;
}
public String getReference()
{
return reference;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/PackageNotFoundException.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/UnresolvedReferenceException.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class PackageNotFoundException extends XMIException ↵ | | 1 | public class UnresolvedReferenceException extends XMIException ↵
|
2 | {↵ | | 2 | {↵
|
3 | private static final long serialVersionUID = 1L;↵ | | 3 | private static final long serialVersionUID = 1L;↵
|
|
4 | protected String uri;↵ | | 4 | protected String reference;↵
|
|
5 | public PackageNotFoundException(String uri, String location, int line, int column) ↵ | | 5 | public UnresolvedReferenceException(String reference, String location, int line, int column) ↵
|
6 | {↵ | | 6 | {↵
|
7 | super("Package with uri '" + uri + "' not found.", location, line, column);↵ | | 7 | super("Unresolved reference '" + reference + "'.", location, line, column);↵
|
8 | this.uri = uri;↵ | | 8 | this.reference = reference;↵
|
9 | }↵ | | 9 | }↵
|
10 | ↵ | | 10 | ↵
|
11 | public String uri() ↵ | | 11 | public String getReference() ↵
|
12 | {↵ | | 12 | {↵
|
13 | return uri;↵ | | 13 | return reference;↵
|
14 | | | 14 |
|
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 |