Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DOptionalInt.java181 public<X extends Throwable> int orElseThrow(Supplier<X> exceptionSupplier) throws X { in orElseThrow() argument
185 throw exceptionSupplier.get(); in orElseThrow()
DOptionalLong.java181 public<X extends Throwable> long orElseThrow(Supplier<X> exceptionSupplier) throws X { in orElseThrow() argument
185 throw exceptionSupplier.get(); in orElseThrow()
DOptionalDouble.java181 public<X extends Throwable> double orElseThrow(Supplier<X> exceptionSupplier) throws X { in orElseThrow() argument
185 throw exceptionSupplier.get(); in orElseThrow()
DOptional.java282 public <X extends Throwable> T orElseThrow(Supplier<? extends X> exceptionSupplier) throws X { in orElseThrow() argument
286 throw exceptionSupplier.get(); in orElseThrow()