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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.glassfish.jersey.server.ResourceConfig resourceConfig) voidsetLogUnclassifiedErrors(boolean logUnclassifiedErrors) voidsetMappers(jakarta.ws.rs.ext.ExceptionMapper[] mappers) Methods inherited from class org.smallmind.web.jersey.spring.PrioritizedResourceConfigExtension
getPriority, setPriority
-
Constructor Details
-
ThrowableExceptionExtension
public ThrowableExceptionExtension()
-
-
Method Details
-
setMappers
public void setMappers(jakarta.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
-