public class Result<T> extends Object
| Constructor and Description |
|---|
Result(MinioException ex) |
Result(T type) |
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns given Type if exception is null, else the exception is thrown.
|
public Result(T type)
public Result(MinioException ex)
public T get() throws MinioException
MinioException