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