CloneSet1171


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24201.000catch_statements[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
124319
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java
224249
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java
Clone Instance
1
Line Count
24
Source Line
319
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaLineBreakpoint.java

                  catch (AbsentInformationException aie) {
                        IStatus status = new Status(IStatus.ERROR, JDIDebugPlugin.getUniqueIdentifier(), NO_LINE_NUMBERS, JDIDebugBreakpointMessages.JavaLineBreakpoint_Absent_Line_Number_Information_1, null);
                        IStatusHandler handler = DebugPlugin.getDefault().getStatusHandler(status);
                        if (handler != null) {
                                try {
                                        handler.handleStatus(status, type);
                                } catch (CoreException e) {
                                  }
                        }
                        return null;
                  }
                  catch (NativeMethodException e) {
                        return null;
                  }
                  catch (InvalidLineNumberException e) {
                        //possibly in a nested type, will be handled when that class is loaded
                        return null;
                  }
                  catch (VMDisconnectedException e) {
                        return null;
                  }
                  catch (ClassNotPreparedException e) {
                        // could be a nested type that is not yet loaded
                        return null;
                  }
                  catch (RuntimeException e) {
                        // not able to retrieve line info
                        target.internalError(e);
                        return null;
                  }


Clone Instance
2
Line Count
24
Source Line
249
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/breakpoints/JavaStratumLineBreakpoint.java

                  catch (AbsentInformationException aie) {
                        IStatus status = new Status(IStatus.ERROR, JDIDebugPlugin.getUniqueIdentifier(), NO_LINE_NUMBERS, JDIDebugBreakpointMessages.JavaLineBreakpoint_Absent_Line_Number_Information_1, null);
                        IStatusHandler handler = DebugPlugin.getDefault().getStatusHandler(status);
                        if (handler != null) {
                                try {
                                        handler.handleStatus(status, type);
                                } catch (CoreException e) {
                                  }
                        }
                        return null;
                  }
                  catch (NativeMethodException e) {
                        return null;
                  }
                  catch (InvalidLineNumberException e) {
                        //possibly in a nested type, will be handled when that class is loaded
                        return null;
                  }
                  catch (VMDisconnectedException e) {
                        return null;
                  }
                  catch (ClassNotPreparedException e) {
                        // could be a nested type that is not yet loaded
                        return null;
                  }
                  catch (RuntimeException e) {
                        // not able to retrieve line info
            target.internalError(e);
                        return null;
                  }


Clone AbstractionParameter Count: 0Parameter Bindings

catch (AbsentInformationException aie) {
  IStatus status = new Status(IStatus.ERROR, JDIDebugPlugin.getUniqueIdentifier(), NO_LINE_NUMBERS, JDIDebugBreakpointMessages.JavaLineBreakpoint_Absent_Line_Number_Information_1, null);
  IStatusHandler handler = DebugPlugin.getDefault().getStatusHandler(status);
  if (handler != null) {
    try {
      handler.handleStatus(status, type);
    }
    catch (CoreException e) {
    }
  }
  return null;
}
catch (NativeMethodException e) {
  return null;
}
catch (InvalidLineNumberException e) {
  //possibly in a nested type, will be handled when that class is loaded
  return null;
}
catch (VMDisconnectedException e) {
  return null;
}
catch (ClassNotPreparedException e) {
  // could be a nested type that is not yet loaded
  return null;
}
catch (RuntimeException e) {
  // not able to retrieve line info
  target.internalError(e);
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None