public class OptionGetters extends Object
Options and other Fugue wrappers.| Constructor and Description |
|---|
OptionGetters() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getOrThrowNotFound(com.atlassian.fugue.Option<T> option,
String errorMessage)
Retrieve the non-null value from an
Option, or throw a NotFoundException. |
public static <T> T getOrThrowNotFound(com.atlassian.fugue.Option<T> option,
String errorMessage)
throws NotFoundException
Option, or throw a NotFoundException.T - option - errorMessage - NotFoundExceptionCopyright © 2003–2019 Atlassian. All rights reserved.