@Priority(value=10) @Singleton public class MappableExceptionWrapperInterceptor extends Object implements ReaderInterceptor, WriterInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
MappableExceptionWrapperInterceptor.Binder
Binder registering the
Exception Wrapper Interceptor
(used on the client side). |
Constructor and Description |
---|
MappableExceptionWrapperInterceptor() |
Modifier and Type | Method and Description |
---|---|
Object |
aroundReadFrom(ReaderInterceptorContext context) |
void |
aroundWriteTo(WriterInterceptorContext context) |
public Object aroundReadFrom(ReaderInterceptorContext context) throws IOException, WebApplicationException
aroundReadFrom
in interface ReaderInterceptor
IOException
WebApplicationException
public void aroundWriteTo(WriterInterceptorContext context) throws IOException, WebApplicationException
aroundWriteTo
in interface WriterInterceptor
IOException
WebApplicationException
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.