public interface ExceptionProcessor
extends org.springframework.core.Ordered
| Modifier and Type | Method and Description |
|---|---|
InvocationException |
convert(Invocation invocation,
Throwable throwable) |
InvocationException |
convert(Invocation invocation,
Throwable throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
default int |
getOrder() |
boolean |
isIgnoreLog(Invocation invocation,
InvocationException exception) |
boolean |
isPrintStackTrace() |
void |
logConsumerException(Invocation invocation,
InvocationException exception) |
void |
logProducerException(Invocation invocation,
InvocationException exception) |
Response |
toConsumerResponse(Invocation invocation,
Throwable throwable) |
Response |
toProducerResponse(Invocation invocation,
Throwable exception) |
default int getOrder()
getOrder in interface org.springframework.core.Orderedboolean isPrintStackTrace()
InvocationException convert(@Nonnull Invocation invocation, Throwable throwable)
InvocationException convert(@Nullable Invocation invocation, Throwable throwable, javax.ws.rs.core.Response.StatusType genericStatus)
boolean isIgnoreLog(@Nonnull Invocation invocation, @Nonnull InvocationException exception)
Response toConsumerResponse(Invocation invocation, Throwable throwable)
void logConsumerException(@Nonnull Invocation invocation, @Nonnull InvocationException exception)
Response toProducerResponse(@Nullable Invocation invocation, Throwable exception)
void logProducerException(@Nonnull Invocation invocation, @Nonnull InvocationException exception)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.