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

com.spotinst.sdkjava.exception.SpotinstHttpException Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.exception;

/**
 * Base class for all exceptions thrown by the spotinst SDK.
 * Exception may be a client side com.spotinst.sdkjava.exception or an unmarshalled service com.spotinst.sdkjava.exception.
 */
public class SpotinstHttpException extends BaseSpotinstSdkException {
    private static final long serialVersionUID = 1L;

    /**
     * Creates a new BaseSpotinstSdkException with a specified message, and a root
     * cause.
     *
     * @param message An error message describing why the com.spotinst.sdkjava.exception was thrown.
     * @param t       The cause of this com.spotinst.sdkjava.exception.
     */
    public SpotinstHttpException(String message, Throwable t) {
        super(message, t);
    }

    /**
     * Creates a new BaseSpotinstSdkException with a specified message.
     *
     * @param message An error message describing why the com.spotinst.sdkjava.exception was thrown.
     */

    public SpotinstHttpException(String message) {
        super(message);
    }

    /**
     * Creates a new BaseSpotinstSdkException with the root cause.
     *
     * @param t The cause of this com.spotinst.sdkjava.exception.
     */

    public SpotinstHttpException(Throwable t) {
        super(t);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy