@ SafeVarargs public final RestBuilder errorHandler ( Class < ? extends ExceptionHandler > ... handlers ) { Assert . notNullOrEmpty ( handlers , "Missing exception handler(s)!" ) ; exceptionHandlers . addAll ( Arrays . asList ( handlers ) ) ; return this ; }
Registeres one or more exception handler classes