Package org.smallmind.web.jersey.json
Class ThrowableExceptionExtension
- java.lang.Object
-
- org.smallmind.web.jersey.spring.ResourceConfigExtension
-
- org.smallmind.web.jersey.spring.PrioritizedResourceConfigExtension
-
- org.smallmind.web.jersey.json.ThrowableExceptionExtension
-
public class ThrowableExceptionExtension extends PrioritizedResourceConfigExtension
-
-
Constructor Summary
Constructors Constructor Description ThrowableExceptionExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.glassfish.jersey.server.ResourceConfig resourceConfig)voidsetLogUnclassifiedErrors(boolean logUnclassifiedErrors)voidsetMappers(javax.ws.rs.ext.ExceptionMapper[] mappers)-
Methods inherited from class org.smallmind.web.jersey.spring.PrioritizedResourceConfigExtension
getPriority, setPriority
-
-
-
-
Method Detail
-
setMappers
public void setMappers(javax.ws.rs.ext.ExceptionMapper[] mappers)
-
setLogUnclassifiedErrors
public void setLogUnclassifiedErrors(boolean logUnclassifiedErrors)
-
apply
public void apply(org.glassfish.jersey.server.ResourceConfig resourceConfig)
- Specified by:
applyin classResourceConfigExtension
-
-