--- jsr166/src/jsr166y/ForkJoinTask.java 2009/08/19 11:24:58 1.43 +++ jsr166/src/jsr166y/ForkJoinTask.java 2009/08/19 17:44:45 1.44 @@ -56,9 +56,9 @@ import java.util.WeakHashMap; * exceptions such as {@code IOExceptions} to be thrown. However, * computations may still encounter unchecked exceptions, that are * rethrown to callers attempting to join them. These exceptions may - * additionally include RejectedExecutionExceptions stemming from - * internal resource exhaustion such as failure to allocate internal - * task queues. + * additionally include {@link RejectedExecutionException} stemming + * from internal resource exhaustion, such as failure to allocate + * internal task queues. * *

The primary method for awaiting completion and extracting * results of a task is {@link #join}, but there are several variants: @@ -781,9 +781,9 @@ public abstract class ForkJoinTask im * overridable, but overridden versions must invoke {@code super} * implementation to maintain guarantees. * - * @param ex the exception to throw. If this exception is - * not a RuntimeException or Error, the actual exception thrown - * will be a RuntimeException with cause ex. + * @param ex the exception to throw. If this exception is not a + * {@code RuntimeException} or {@code Error}, the actual exception + * thrown will be a {@code RuntimeException} with cause {@code ex}. */ public void completeExceptionally(Throwable ex) { setDoneExceptionally((ex instanceof RuntimeException) ||