/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @param cause the underlying cause of the exception. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response, Throwable cause) { super(validate(response, UNAUTHORIZED), cause); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(String message, Response response) { super(message, validate(response, UNAUTHORIZED)); }
/** * Construct a new "not authorized" exception. * * @param response error response. * @throws IllegalArgumentException in case the status code set in the response * is not HTTP {@code 401}. */ public NotAuthorizedException(Response response) { super(validate(response, UNAUTHORIZED)); }