Modifier and Type | Method and Description |
---|---|
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<ThrowableT extends Throwable & WithErrorResponse> |
AbstractExceptionMapper.logAsLevel(Class<ThrowableT> throwableClass,
LogLevel logLevel)
Only sets a specific server-side log level for any
Throwable of the given type. |
<ThrowableT extends Throwable & WithErrorResponse> |
ErrorResponseBuilder.logAsLevel(Class<ThrowableT> throwableClass,
LogLevel logLevel)
Defines the log level to use for the given type of Throwable.
|
<ThrowableT extends Throwable & WithErrorResponse> |
AbstractExceptionMapper.withMapper(ResponseMapper<ThrowableT> responseMapper,
LogLevel logLevel)
Adds the given
ResponseMapper for the Throwable specified insider the mapper. |
<ThrowableT extends Throwable & WithErrorResponse> |
ErrorResponseBuilder.withMapper(ResponseMapper<ThrowableT> responseMapper,
LogLevel logLevel)
Use the given
ResponseMapper for building the error response. |
Modifier and Type | Method and Description |
---|---|
LogLevel |
AbstractResponseMapper.getLogLevel(Throwable throwable) |
LogLevel |
EntityAlreadyExistsExceptionMapper.getLogLevel(Throwable throwable) |
LogLevel |
ResponseMapper.getLogLevel(Throwable throwable) |
LogLevel |
EntityNotFoundExceptionMapper.getLogLevel(Throwable throwable) |
LogLevel |
ConstraintViolationExceptionMapper.getLogLevel(Throwable throwable) |
LogLevel |
StringParsingExceptionMapper.getLogLevel(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
ConstraintViolationExceptionMapper.getLogLevel(Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
NotFoundExceptionMapper.getLogLevel(Throwable throwable) |
Copyright © 2019 SAP SE. All rights reserved.