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, toString
public AwareException(Exception e, RestInvocation invocation)
public void setInvocation(@Nullable RestInvocation invocation)
setInvocation
in interface InvocationAware
@Nullable public RestInvocation getInvocation()
getInvocation
in interface InvocationAware
public void setResponseHeaders(Map<String,List<String>> headers)
setResponseHeaders
in interface HttpResponseAware
public Map<String,List<String>> getResponseHeaders()
getResponseHeaders
in interface HttpResponseAware
Copyright © 2012–2016. All rights reserved.