| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 7 | 3 | 0.970 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 75 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/AbstractRuntimeClasspathEntry.java |
| 2 | 3 | 221 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathEntry.java |
| 3 | 3 | 371 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/ArchiveSourceLocation.java |
| 4 | 3 | 214 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation.java |
| 5 | 3 | 216 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation.java |
| 6 | 3 | 542 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/JavaSourceLocator.java |
| 7 | 3 | 211 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation.java |
| ||||
/**
* Throws an exception with the given message and underlying exception.
*
* @param message error message
* @param exception underlying exception or <code>null</code> if none
* @throws CoreException
*/
protected void abort(String message, Throwable exception) throws CoreException {
IStatus status = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, exception);
throw new CoreException(status);
}
|
| ||||
/**
* Throws an internal error exception
*/
protected void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| ||||
/*
* Throws an internal error exception
*/
private void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| ||||
/*
* Throws an internal error exception
*/
private void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| ||||
/*
* Throws an internal error exception
*/
private void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| ||||
/**
* Throws an internal error exception
*/
private void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| ||||
/*
* Throws an internal error exception
*/
private void abort(String message, Throwable e) throws CoreException {
IStatus s = new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, e);
throw new CoreException(s);
}
|
| |||
[[#variable585ec780]]void abort(String message, Throwable [[#variable585ed180]]) throws CoreException {
IStatus [[#variable585ed120]]= new Status(IStatus.ERROR, LaunchingPlugin.getUniqueIdentifier(), IJavaLaunchConfigurationConstants.ERR_INTERNAL_ERROR, message, [[#variable585ed180]]);
throw new CoreException( [[#variable585ed120]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#585ec780]] | /** * Throws an internal error exception */ private |
| 1 | 2 | [[#585ec780]] | /** * Throws an exception with the given message and underlying exception. * * @param message error message * @param exception underlying exception or <code>null</code> if none * @throws CoreException */ protected |
| 1 | 3 | [[#585ec780]] | /** * Throws an internal error exception */ protected |
| 1 | 4 | [[#585ec780]] | /* * Throws an internal error exception */ private |
| 1 | 5 | [[#585ec780]] | /* * Throws an internal error exception */ private |
| 1 | 6 | [[#585ec780]] | /* * Throws an internal error exception */ private |
| 1 | 7 | [[#585ec780]] | /* * Throws an internal error exception */ private |
| 2 | 1 | [[#585ed180]] | e |
| 2 | 2 | [[#585ed180]] | exception |
| 2 | 3 | [[#585ed180]] | e |
| 2 | 4 | [[#585ed180]] | e |
| 2 | 5 | [[#585ed180]] | e |
| 2 | 6 | [[#585ed180]] | e |
| 2 | 7 | [[#585ed180]] | e |
| 3 | 1 | [[#585ed120]] | s |
| 3 | 2 | [[#585ed120]] | status |
| 3 | 3 | [[#585ed120]] | s |
| 3 | 4 | [[#585ed120]] | s |
| 3 | 5 | [[#585ed120]] | s |
| 3 | 6 | [[#585ed120]] | s |
| 3 | 7 | [[#585ed120]] | s |