public class ErrorHandlers
extends java.lang.Object
It also includes utility methods to format error messages and convert stack traces to strings.
Modifier and Type | Class and Description |
---|---|
static class |
ErrorHandlers.OAuthErrorHandler
Error handler specific to OAuth2 requests.
|
Modifier and Type | Method and Description |
---|---|
static java.util.function.Consumer<ErrorResponse> |
catalogErrorHandler()
Creates an error handler specific to Catalog operations.
|
static java.util.function.Consumer<ErrorResponse> |
filesetErrorHandler()
Creates an error handler specific to Fileset operations.
|
static java.util.function.Consumer<ErrorResponse> |
groupErrorHandler()
Creates an error handler specific to Group operations.
|
static java.util.function.Consumer<ErrorResponse> |
metalakeErrorHandler()
Creates an error handler specific to Metalake operations.
|
static java.util.function.Consumer<ErrorResponse> |
oauthErrorHandler()
Creates an error handler specific to OAuth2 requests.
|
static java.util.function.Consumer<ErrorResponse> |
partitionErrorHandler()
Creates an error handler specific to Partition operations.
|
static java.util.function.Consumer<ErrorResponse> |
permissionOperationErrorHandler()
Creates an error handler specific to permission operations.
|
static java.util.function.Consumer<ErrorResponse> |
restErrorHandler()
Creates a generic error handler for REST requests.
|
static java.util.function.Consumer<ErrorResponse> |
roleErrorHandler()
Creates an error handler specific to Role operations.
|
static java.util.function.Consumer<ErrorResponse> |
schemaErrorHandler()
Creates an error handler specific to Schema operations.
|
static java.util.function.Consumer<ErrorResponse> |
tableErrorHandler()
Creates an error handler specific to Table operations.
|
static java.util.function.Consumer<ErrorResponse> |
topicErrorHandler()
Creates an error handler specific to Topic operations.
|
static java.util.function.Consumer<ErrorResponse> |
userErrorHandler()
Creates an error handler specific to User operations.
|
public static java.util.function.Consumer<ErrorResponse> metalakeErrorHandler()
public static java.util.function.Consumer<ErrorResponse> catalogErrorHandler()
public static java.util.function.Consumer<ErrorResponse> schemaErrorHandler()
public static java.util.function.Consumer<ErrorResponse> tableErrorHandler()
public static java.util.function.Consumer<ErrorResponse> partitionErrorHandler()
public static java.util.function.Consumer<ErrorResponse> restErrorHandler()
public static java.util.function.Consumer<ErrorResponse> oauthErrorHandler()
public static java.util.function.Consumer<ErrorResponse> filesetErrorHandler()
public static java.util.function.Consumer<ErrorResponse> topicErrorHandler()
public static java.util.function.Consumer<ErrorResponse> userErrorHandler()
public static java.util.function.Consumer<ErrorResponse> groupErrorHandler()
public static java.util.function.Consumer<ErrorResponse> roleErrorHandler()
public static java.util.function.Consumer<ErrorResponse> permissionOperationErrorHandler()