Package org.apache.iceberg.rest
Class ErrorHandlers
- java.lang.Object
-
- org.apache.iceberg.rest.ErrorHandlers
-
public class ErrorHandlers extends java.lang.Object
A set of consumers to handle errors for requests for table entities or for namespace entities, to throw the correct exception.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.function.Consumer<ErrorResponse>
defaultErrorHandler()
static java.util.function.Consumer<ErrorResponse>
namespaceErrorHandler()
static java.util.function.Consumer<ErrorResponse>
oauthErrorHandler()
static java.util.function.Consumer<ErrorResponse>
tableCommitHandler()
static java.util.function.Consumer<ErrorResponse>
tableErrorHandler()
-
-
-
Method Detail
-
namespaceErrorHandler
public static java.util.function.Consumer<ErrorResponse> namespaceErrorHandler()
-
tableErrorHandler
public static java.util.function.Consumer<ErrorResponse> tableErrorHandler()
-
tableCommitHandler
public static java.util.function.Consumer<ErrorResponse> tableCommitHandler()
-
defaultErrorHandler
public static java.util.function.Consumer<ErrorResponse> defaultErrorHandler()
-
oauthErrorHandler
public static java.util.function.Consumer<ErrorResponse> oauthErrorHandler()
-
-