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

com.sap.cloud.sdk.services.scp.blockchain.hyperledgerfabric.FabricServiceFailureException Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.services.scp.blockchain.hyperledgerfabric;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import com.google.common.annotations.Beta;

/**
 * Thrown on problems during the call to the Hyperledger Fabric service.
 */
@Beta
public class FabricServiceFailureException extends RuntimeException
{
    private static final long serialVersionUID = -4649892790941627169L;

    /**
     * Default constructors.
     */
    public FabricServiceFailureException()
    {

    }

    /**
     * Default constructors.
     * 
     * @param message
     *            the message
     */
    public FabricServiceFailureException( @Nonnull final String message )
    {
        super(message);
    }

    /**
     * Default constructors.
     * 
     * @param cause
     *            the cause
     */
    public FabricServiceFailureException( @Nonnull final Throwable cause )
    {
        super(cause);
    }

    /**
     * Default constructors.
     * 
     * @param message
     *            the message
     * @param cause
     *            an optional cause
     */
    public FabricServiceFailureException( @Nonnull final String message, @Nullable final Throwable cause )
    {
        super(message, cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy