Package si.mazi.rescu
Class AwareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
si.mazi.rescu.AwareException
- All Implemented Interfaces:
Serializable,HttpResponseAware,InvocationAware
public class AwareException extends RuntimeException implements InvocationAware, HttpResponseAware
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AwareException(Exception e, RestInvocation invocation) -
Method Summary
Modifier and Type Method Description RestInvocationgetInvocation()Map<String,List<String>>getResponseHeaders()voidsetInvocation(RestInvocation invocation)voidsetResponseHeaders(Map<String,List<String>> headers)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
setInvocation
- Specified by:
setInvocationin interfaceInvocationAware
-
getInvocation
- Specified by:
getInvocationin interfaceInvocationAware
-
setResponseHeaders
- Specified by:
setResponseHeadersin interfaceHttpResponseAware
-
getResponseHeaders
- Specified by:
getResponseHeadersin interfaceHttpResponseAware
-