Package so.prelude.sdk.errors
Class NotFoundException.Builder
-
- All Implemented Interfaces:
public final class NotFoundException.Builder
A builder for NotFoundException.
-
-
Method Summary
Modifier and Type Method Description final NotFoundException.Builder
headers(Headers headers)
final NotFoundException.Builder
body(JsonValue body)
final NotFoundException.Builder
cause(Throwable cause)
final NotFoundException.Builder
cause(Optional<Throwable> cause)
Alias for calling Builder.cause with cause.orElse(null)
.final NotFoundException
build()
Returns an immutable instance of NotFoundException. -
-
Method Detail
-
headers
final NotFoundException.Builder headers(Headers headers)
-
body
final NotFoundException.Builder body(JsonValue body)
-
cause
final NotFoundException.Builder cause(Throwable cause)
-
cause
final NotFoundException.Builder cause(Optional<Throwable> cause)
Alias for calling Builder.cause with
cause.orElse(null)
.
-
build
final NotFoundException build()
Returns an immutable instance of NotFoundException.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.headers() .body()
-
-
-
-