CloneSet3733


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15145
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java
2580
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIType.java
Clone Instance
1
Line Count
5
Source Line
145
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIDebugElement.java

        /**
         * Throws a new debug exception with a status code of <code>TARGET_REQUEST_FAILED</code>
         * with the given underlying exception. If the underlying exception is not a JDI
         * exception, the original exception is thrown.
         * 
         * @param message Failure message
         * @param e underlying exception that has occurred
         * @throws DebugException The exception with a status code of <code>TARGET_REQUEST_FAILED</code>
         */
        public void targetRequestFailed(String message, RuntimeException e) throws DebugException {
                if (e == null || e.getClass().getName().startsWith("com.sun.jdi") || e instanceof TimeoutException) { //$NON-NLS-1$
                        requestFailed(message, e, DebugException.TARGET_REQUEST_FAILED);
                }
                else   {
                        throw e;
                }
        }


Clone Instance
2
Line Count
5
Source Line
80
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIType.java

    /**
     * Throws a new debug exception with a status code of <code>TARGET_REQUEST_FAILED</code>
     * with the given underlying exception. If the underlying exception is not a JDI
     * exception, the original exception is thrown.
     * 
     * @param message Failure message
     * @param e underlying exception that has occurred
     * @throws DebugException The exception with a status code of <code>TARGET_REQUEST_FAILED</code>
     */
    public void targetRequestFailed(String message, RuntimeException e) throws DebugException {
        if (e == null || e.getClass().getName().startsWith("com.sun.jdi") || e instanceof TimeoutException) { //$NON-NLS-1$
            requestFailed(message, e, DebugException.TARGET_REQUEST_FAILED);
        }
        else   {
            throw e;
        }
    }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Throws a new debug exception with a status code of <code>TARGET_REQUEST_FAILED</code>
     * with the given underlying exception. If the underlying exception is not a JDI
     * exception, the original exception is thrown.
     * 
     * @param message Failure message
     * @param e underlying exception that has occurred
     * @throws DebugException The exception with a status code of <code>TARGET_REQUEST_FAILED</code>
     */
/**
         * Throws a new debug exception with a status code of <code>TARGET_REQUEST_FAILED</code>
         * with the given underlying exception. If the underlying exception is not a JDI
         * exception, the original exception is thrown.
         * 
         * @param message Failure message
         * @param e underlying exception that has occurred
         * @throws DebugException The exception with a status code of <code>TARGET_REQUEST_FAILED</code>
         */
public void targetRequestFailed(String message, RuntimeException e) throws DebugException {
  if (e == null || e.getClass().getName().startsWith("com.sun.jdi") || e instanceof TimeoutException) { //$NON-NLS-1$
    requestFailed(message, e, DebugException.TARGET_REQUEST_FAILED);
  }
  else {
    throw e;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None