Class ClientExceptionMapperHandler


  • class ClientExceptionMapperHandler
    extends Object
    Generates an implementation of ResponseExceptionMapper from an instance of ClientExceptionMapper
    • Constructor Detail

      • ClientExceptionMapperHandler

        ClientExceptionMapperHandler​(io.quarkus.gizmo.ClassOutput classOutput)
    • Method Detail

      • generateResponseExceptionMapper

        ClientExceptionMapperHandler.Result generateResponseExceptionMapper​(org.jboss.jandex.AnnotationInstance instance)
        Generates an implementation of ResponseExceptionMapper that looks something like:
         {@code
          public class SomeService_map_ResponseExceptionMapper_a8fb70beeef2a54b80151484d109618eed381626 implements ResponseExceptionMapper {
              public Throwable toThrowable(Response var1) {
                  // simply call the static method of interface
                  return SomeService.map(var1);
              }
        
         }