Home
last modified time | relevance | path

Searched refs:CompletionException (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionException.java45 public class CompletionException extends RuntimeException { class
53 protected CompletionException() { } in CompletionException() method in CompletionException
62 protected CompletionException(String message) { in CompletionException() method in CompletionException
74 public CompletionException(String message, Throwable cause) { in CompletionException() method in CompletionException
87 public CompletionException(Throwable cause) { in CompletionException() method in CompletionException
DCompletableFuture.java290 return new AltResult((x instanceof CompletionException) ? x : in encodeThrowable()
291 new CompletionException(x)); in encodeThrowable()
307 if (!(x instanceof CompletionException)) in encodeThrowable()
308 x = new CompletionException(x); in encodeThrowable()
343 && !(x instanceof CompletionException)) in encodeRelay()
344 r = new AltResult(new CompletionException(x)); in encodeRelay()
369 if ((x instanceof CompletionException) && in reportGet()
387 if (x instanceof CompletionException) in reportJoin()
388 throw (CompletionException)x; in reportJoin()
389 throw new CompletionException(x); in reportJoin()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCompletionExceptionTest.java22 import java.util.concurrent.CompletionException;
32 private class TestCompletionException extends CompletionException {
46 CompletionException exception = new TestCompletionException(); in testConstructNoMessage()
56 CompletionException exception = new TestCompletionException("test"); in testConstructWithMessage()
67 CompletionException exception = new CompletionException("test", cause); in testConstructWithMessageAndCause()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java29 import java.util.concurrent.CompletionException;
112 assertTrue(cause instanceof CompletionException); in checkCompletedExceptionally()
129 } catch (CompletionException success) { in checkCompletedExceptionally()
136 } catch (CompletionException success) { in checkCompletedExceptionally()
2186 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2193 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2230 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2237 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2244 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2251 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java56 import java.util.concurrent.CompletionException;
140 assertTrue(cause instanceof CompletionException); in checkCompletedExceptionally()
157 } catch (CompletionException success) { in checkCompletedExceptionally()
164 } catch (CompletionException success) { in checkCompletedExceptionally()
2309 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2316 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion()
2353 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2360 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2367 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
2374 } catch (CompletionException ok) { in testApplyToEither_exceptionalCompletion2()
[all …]
/libcore/
Dopenjdk_java_files.bp978 "ojluni/src/main/java/java/util/concurrent/CompletionException.java",
DEXPECTED_UPSTREAM1029 …va/util/concurrent/CompletionException.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
/libcore/api/
Dcurrent.txt15470 public class CompletionException extends java.lang.RuntimeException {
15471 ctor protected CompletionException();
15472 ctor protected CompletionException(String);
15473 ctor public CompletionException(String, Throwable);
15474 ctor public CompletionException(Throwable);