CloneSet1781


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11301.000catch_statements
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11140
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BatchOperation.java
212377
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
311786
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java
Clone Instance
1
Line Count
11
Source Line
40
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BatchOperation.java

                  catch (CoreException ce) {
                        if (ce instanceof JavaModelException) {
                                throw (JavaModelException) ce;
                        }
                        else   {
                                if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
                                        Throwable e = ce.getStatus().getException();
                                        if (e instanceof JavaModelException) {
                                                throw (JavaModelException) e;
                                        }
                                }
                                throw new JavaModelException(ce);
                        }
                  }


Clone Instance
2
Line Count
12
Source Line
377
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

                  catch (CoreException ce) {
                        if (ce instanceof JavaModelException) {
                                throw (JavaModelException) ce;
                        }
                        else   {
                                // translate the core exception to a java model exception
                                if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
                                        Throwable e = ce.getStatus().getException();
                                        if (e instanceof JavaModelException) {
                                                throw (JavaModelException) e;
                                        }
                                }
                                throw new JavaModelException(ce);
                        }
                  }


Clone Instance
3
Line Count
11
Source Line
786
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java

                  catch (CoreException ce) {
                        if (ce instanceof JavaModelException) {
                                throw (JavaModelException) ce;
                        }
                        else   {
                                if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
                                        Throwable e = ce.getStatus().getException();
                                        if (e instanceof JavaModelException) {
                                                throw (JavaModelException) e;
                                        }
                                }
                                throw new JavaModelException(ce);
                        }
                  }


Clone AbstractionParameter Count: 0Parameter Bindings

catch (CoreException ce) {
  if (ce instanceof JavaModelException) {
    throw (JavaModelException) ce;
  }
  else {
    // translate the core exception to a java model exception
    if (ce.getStatus().getCode() == IResourceStatus.OPERATION_FAILED) {
      Throwable e = ce.getStatus().getException();
      if (e instanceof JavaModelException) {
        throw (JavaModelException) e;
      }
    }
    throw new JavaModelException(ce);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None