All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.shredzone.acme4j.exception.AcmeUnauthorizedException Maven / Gradle / Ivy

The newest version!
/*
 * acme4j - Java ACME client
 *
 * Copyright (C) 2015 Richard "Shred" Körber
 *   http://acme4j.shredzone.org
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 */
package org.shredzone.acme4j.exception;

import org.shredzone.acme4j.Problem;

/**
 * The client is not authorized to perform the operation. The {@link Problem} document
 * will give further details (e.g. "client IP is blocked").
 */
public class AcmeUnauthorizedException extends AcmeServerException {
    private static final long serialVersionUID = 9064697508262919366L;

    /**
     * Creates a new {@link AcmeUnauthorizedException}.
     *
     * @param problem
     *            {@link Problem} that caused the exception
     */
    public AcmeUnauthorizedException(Problem problem) {
        super(problem);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy