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

com.github.alexdlaird.exception.JavaNgrokException Maven / Gradle / Ivy

There is a newer version: 2.3.1
Show newest version
/*
 * Copyright (c) 2021-2024 Alex Laird
 *
 * SPDX-License-Identifier: MIT
 */

package com.github.alexdlaird.exception;

import com.github.alexdlaird.ngrok.NgrokClient;

/**
 * Root exception for the {@link NgrokClient} and the java-ngrok library.
 */
public class JavaNgrokException extends RuntimeException {

    /**
     * An exception with a message.
     *
     * @param message The message describing the exception.
     */
    public JavaNgrokException(final String message) {
        super(message);
    }

    /**
     * An exception with a message and a root cause.
     *
     * @param message The message describing the exception.
     * @param cause   The initial cause of the exception.
     */
    public JavaNgrokException(final String message, final Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy