Package io.quarkus.spring.web.deployment
Class AbstractExceptionMapperGenerator
- java.lang.Object
-
- io.quarkus.spring.web.deployment.AbstractExceptionMapperGenerator
-
- Direct Known Subclasses:
ControllerAdviceExceptionMapperGenerator,ResponseStatusOnExceptionGenerator
abstract class AbstractExceptionMapperGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected io.quarkus.gizmo.ClassOutputclassOutputprotected org.jboss.jandex.DotNameexceptionDotNameprotected static org.jboss.jandex.DotNameRESPONSE_STATUS
-
Constructor Summary
Constructors Constructor Description AbstractExceptionMapperGenerator(org.jboss.jandex.DotName exceptionDotName, io.quarkus.gizmo.ClassOutput classOutput, boolean isResteasyClassic)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) Stringgenerate()(package private) abstract voidgenerateMethodBody(io.quarkus.gizmo.MethodCreator toResponse)protected intgetHttpStatusFromAnnotation(org.jboss.jandex.AnnotationInstance responseStatusInstance)protected voidpreGenerateMethodBody(io.quarkus.gizmo.ClassCreator cc)
-
-
-
Method Detail
-
generateMethodBody
abstract void generateMethodBody(io.quarkus.gizmo.MethodCreator toResponse)
-
generate
String generate()
-
preGenerateMethodBody
protected void preGenerateMethodBody(io.quarkus.gizmo.ClassCreator cc)
-
getHttpStatusFromAnnotation
protected int getHttpStatusFromAnnotation(org.jboss.jandex.AnnotationInstance responseStatusInstance)
-
-