001/*
002 * acme4j - Java ACME client
003 *
004 * Copyright (C) 2015 Richard "Shred" K├Ârber
005 *   http://acme4j.shredzone.org
006 *
007 * Licensed under the Apache License, Version 2.0 (the "License");
008 * you may not use this file except in compliance with the License.
009 *
010 * This program is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
013 */
014package org.shredzone.acme4j.exception;
015
016import org.shredzone.acme4j.Problem;
017
018/**
019 * The client is not authorized to perform the operation. The {@link Problem} document
020 * will give further details (e.g. "client IP is blocked").
021 */
022public class AcmeUnauthorizedException extends AcmeServerException {
023    private static final long serialVersionUID = 9064697508262919366L;
024
025    /**
026     * Creates a new {@link AcmeUnauthorizedException}.
027     *
028     * @param problem
029     *            {@link Problem} that caused the exception
030     */
031    public AcmeUnauthorizedException(Problem problem) {
032        super(problem);
033    }
034
035}