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
016/**
017 * A generic ACME exception.
018 */
019public class AcmeException extends Exception {
020    private static final long serialVersionUID = -2935088954705632025L;
021
022    /**
023     * Creates a generic {@link AcmeException}.
024     */
025    public AcmeException() {
026        super();
027    }
028
029    /**
030     * Creates a generic {@link AcmeException}.
031     *
032     * @param msg
033     *            Description
034     */
035    public AcmeException(String msg) {
036        super(msg);
037    }
038
039    /**
040     * Creates a generic {@link AcmeException}.
041     *
042     * @param msg
043     *            Description
044     * @param cause
045     *            {@link Throwable} that caused this exception
046     */
047    public AcmeException(String msg, Throwable cause) {
048        super(msg, cause);
049    }
050
051}