Home
last modified time | relevance | path

Searched refs:exceptionSupplier (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DOptionalLong.java264 public<X extends Throwable> long orElseThrow(Supplier<? extends X> exceptionSupplier) throws X { in orElseThrow() argument
268 throw exceptionSupplier.get(); in orElseThrow()
DOptionalDouble.java264 … public<X extends Throwable> double orElseThrow(Supplier<? extends X> exceptionSupplier) throws X { in orElseThrow() argument
268 throw exceptionSupplier.get(); in orElseThrow()
DOptionalInt.java264 public<X extends Throwable> int orElseThrow(Supplier<? extends X> exceptionSupplier) throws X { in orElseThrow() argument
268 throw exceptionSupplier.get(); in orElseThrow()
DOptional.java400 public <X extends Throwable> T orElseThrow(Supplier<? extends X> exceptionSupplier) throws X { in orElseThrow() argument
404 throw exceptionSupplier.get(); in orElseThrow()