@Get("/default")
    @ExceptionHandler(LocalExceptionHandler.class)
    public String exception4() {
        throw new IllegalArgumentException();
    }
Throws an {@link IllegalArgumentException} which can be handled by the default exception handler.
examples/annotated-http-service/src/main/java/example/armeria/server/annotated/ExceptionHandlerService.java