Class UnsatisfiedArgumentHandler

java.lang.Object
io.micronaut.http.server.exceptions.ErrorExceptionHandler<io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException>
io.micronaut.http.server.exceptions.UnsatisfiedArgumentHandler
All Implemented Interfaces:
ExceptionHandler<io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException,io.micronaut.http.HttpResponse<?>>

@Singleton @Produces public class UnsatisfiedArgumentHandler extends ErrorExceptionHandler<io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException>
Handles exception of type UnsatisfiedArgumentException.
Since:
1.0
  • Constructor Details

    • UnsatisfiedArgumentHandler

      public UnsatisfiedArgumentHandler(ErrorResponseProcessor<?> responseProcessor)
      Constructor.
      Parameters:
      responseProcessor - Error Response Processor
  • Method Details

    • error

      @NonNull protected @NonNull Error error(io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException exception)
      Specified by:
      error in class ErrorExceptionHandler<io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException>