Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.996 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 95 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java |
2 | 13 | 118 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFormatException.java |
| ||||
/** * Prints this exception's stack trace to the given print stream. * * @param output * the print stream * @since 3.0 */ public void printStackTrace(PrintStream output) { synchronized (output) { super.printStackTrace(output); Throwable throwable = getException(); if (throwable != null) { if (this.fileName != null) { output.print("Caused in "); //$NON-NLS-1$ output.print(this.fileName); output.print(" by: "); //$NON-NLS-1$ } else { output.print("Caused by: "); //$NON-NLS-1$ } throwable.printStackTrace(output); } } } |
| ||||
/** * Prints this exception's stack trace to the given print writer. * * @param output * the print writer * @since 3.0 */ public void printStackTrace(PrintWriter output) { synchronized (output) { super.printStackTrace(output); Throwable throwable = getException(); if (throwable != null) { if (this.fileName != null) { output.print("Caused in "); //$NON-NLS-1$ output.print(this.fileName); output.print(" by: "); //$NON-NLS-1$ } else { output.print("Caused by: "); //$NON-NLS-1$ } throwable.printStackTrace(output); } } } |
| |||
/** * Prints this exception's stack trace to the given print stream. * * @param output * the print stream * @since 3.0 */ /** * Prints this exception's stack trace to the given print writer. * * @param output * the print writer * @since 3.0 */ public void printStackTrace( [[#variableba0516e0]] output) { synchronized (output) { super.printStackTrace(output); Throwable throwable = getException(); if (throwable != null) { if (this.fileName != null) { output.print("Caused in "); //$NON-NLS-1$ output.print(this.fileName); output.print(" by: "); //$NON-NLS-1$ } else { output.print("Caused by: "); //$NON-NLS-1$ } throwable.printStackTrace(output); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba0516e0]] | PrintStream |
1 | 2 | [[#ba0516e0]] | PrintWriter |