public class ResultSuppliers extends Object
Useful for passing into Option.getOrElse(Supplier)
| Constructor and Description |
|---|
ResultSuppliers() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Supplier |
notFoundException(String msg) |
public static com.google.common.base.Supplier notFoundException(String msg)
msg - com.sun.jersey.api.NotFoundException - with the given message when get() is calledCopyright © 2003–2022 Atlassian. All rights reserved.