| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.980 | catch_statements |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 381 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/Buffer.java |
| 2 | 4 | 270 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRoot.java |
| ||||
catch (IOException e) {
throw new JavaModelException(e, IJavaModelStatusConstants.IO_EXCEPTION);
}
catch (CoreException e) {
throw new JavaModelException(e);
}
|
| ||||
catch (IllegalArgumentException e) {
throw new JavaModelException(e, IJavaModelStatusConstants.ELEMENT_DOES_NOT_EXIST); // could be thrown by ElementTree when path is not found
}
catch (CoreException e) {
throw new JavaModelException(e);
}
|
| |||
catch ( [[#variable58890b40]] e) {
throw new JavaModelException(e, IJavaModelStatusConstants. [[#variable58890ba0]]); // could be thrown by ElementTree when path is not found
}
catch (CoreException e) {
throw new JavaModelException(e);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#58890b40]] | IOException |
| 1 | 2 | [[#58890b40]] | IllegalArgumentException |
| 2 | 1 | [[#58890ba0]] | IO_EXCEPTION |
| 2 | 2 | [[#58890ba0]] | ELEMENT_DOES_NOT_EXIST |