Searched refs:CompletionException (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DCompletionException.java16 public class CompletionException extends RuntimeException { class in inherits:RuntimeException
20 * Constructs a {@code CompletionException} with no detail message.
24 protected CompletionException() { } method in class:CompletionException
27 * Constructs a {@code CompletionException} with the specified detail
33 protected CompletionException(String message) { method in class:CompletionException
38 * Constructs a {@code CompletionException} with the specified detail
45 public CompletionException(String message, Throwable cause) { method in class:CompletionException
50 * Constructs a {@code CompletionException} with the specified cause.
58 public CompletionException(Throwable cause) { method in class:CompletionException
H A DCompletableFuture.java67 * <li>In case of exceptional completion with a CompletionException,
70 * corresponding CompletionException. To simplify usage in most
72 * {@link #getNow} that instead throw the CompletionException directly
243 * wrapped CompletionException unless it is one already.
246 return new AltResult((x instanceof CompletionException) ? x :
247 new CompletionException(x));
258 * wrapped CompletionException unless it is one already. May
261 * relay of an existing CompletionException.
264 if (!(x instanceof CompletionException))
265 x = new CompletionException(
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java29 import java.util.concurrent.CompletionException;
99 * without any additional wrapping with CompletionException.
112 assertTrue(cause instanceof CompletionException);
129 } catch (CompletionException success) {
136 } catch (CompletionException success) {
2178 } catch (CompletionException ok) {
2185 } catch (CompletionException ok) {
2222 } catch (CompletionException ok) {
2229 } catch (CompletionException ok) {
2236 } catch (CompletionException o
[all...]
/libcore/
H A Dnon_openjdk_java_files.mk93 luni/src/main/java/java/util/concurrent/CompletionException.java \

Completed in 97 milliseconds