/** * Creates a new instance with the specified {@link HttpStatus}. */ private HttpStatusException(HttpStatus httpStatus) { super(requireNonNull(httpStatus, "httpStatus").toString()); this.httpStatus = httpStatus; }
/** * Creates a new singleton instance with the specified {@link HttpStatus}. */ private HttpStatusException(HttpStatus httpStatus, @SuppressWarnings("unused") boolean dummy) { super(requireNonNull(httpStatus, "httpStatus").toString(), null, false, false); this.httpStatus = httpStatus; }
handlePreDecodeException(ctx, reply, func, new InvalidResponseException(status.toString())); return null;
handlePreDecodeException(ctx, reply, func, new InvalidResponseException(status.toString())); return null;
handlePreDecodeException(ctx, reply, func, new InvalidResponseException(status.toString())); return;
handlePreDecodeException(ctx, reply, func, new InvalidResponseException(status.toString())); return null;