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