@NotThreadSafe public static final class ImmutableSpecifiedException.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ImmutableSpecifiedException |
build() |
<T extends Exception> |
buildOrThrow(Function<String,T> exceptionSupplier) |
ImmutableSpecifiedException.Builder |
someRequiredInteger(int someRequiredInteger) |
ImmutableSpecifiedException.Builder |
someRequiredString(String someRequiredString) |
public final ImmutableSpecifiedException.Builder someRequiredInteger(int someRequiredInteger)
public final ImmutableSpecifiedException.Builder someRequiredString(String someRequiredString)
public ImmutableSpecifiedException build() throws SampleRuntimeException
public <T extends Exception> ImmutableSpecifiedException buildOrThrow(Function<String,T> exceptionSupplier) throws T extends Exception
Copyright © 2016 The Immutables.org authors. All rights reserved.