public class AwareException extends RuntimeException implements InvocationAware, HttpResponseAware
| Constructor and Description |
|---|
AwareException(Exception e,
RestInvocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
RestInvocation |
getInvocation() |
Map<String,List<String>> |
getResponseHeaders() |
void |
setInvocation(RestInvocation invocation) |
void |
setResponseHeaders(Map<String,List<String>> headers) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AwareException(Exception e, RestInvocation invocation)
public void setInvocation(@Nullable RestInvocation invocation)
setInvocation in interface InvocationAware@Nullable public RestInvocation getInvocation()
getInvocation in interface InvocationAwarepublic void setResponseHeaders(Map<String,List<String>> headers)
setResponseHeaders in interface HttpResponseAwarepublic Map<String,List<String>> getResponseHeaders()
getResponseHeaders in interface HttpResponseAwareCopyright © 2012–2021. All rights reserved.