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

com.joyent.http.signature.HttpSignatureException Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
/**
 * Copyright (c) 2015, Joyent, Inc. All rights reserved.
 */
package com.joyent.http.signature;

/**
 * General exception that all other exceptions inherit from in this project.
 *
 * @author Elijah Zupancic
 * @since 1.0.0
 */
public class HttpSignatureException extends RuntimeException {
    /**
     * Creates a new exception.
     */
    public HttpSignatureException() {
    }

    /**
     * Creates a new exception with the specified message.
     * @param message Message to embed
     */
    public HttpSignatureException(final String message) {
        super(message);
    }

    /**
     * Creates a new chained exception with the specified message.
     *
     * @param message Message to embed
     * @param cause exception to chain
     */
    public HttpSignatureException(final String message, final Throwable cause) {
        super(message, cause);
    }

    /**
     * Creates a new chained exception.
     *
     * @param cause exception to chain
     */
    public HttpSignatureException(final Throwable cause) {
        super(cause);
    }

    /**
     * Creates a exception with the specified message, cause,
     * suppression enabled or disabled, and writable stack trace enabled
     * or disabled.
     *
     * @param message Message to embed
     * @param cause exception to chain
     * @param enableSuppression whether or not suppression is enabled or disabled
     * @param writableStackTrace whether or not the stack trace should be writable
     */
    public HttpSignatureException(final String message,
                                  final Throwable cause,
                                  final boolean enableSuppression,
                                  final boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy