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

com.oceanprotocol.squid.exceptions.ServiceAgreementException Maven / Gradle / Ivy

Go to download

Squid facilitate the interaction of java clients with the Ocean Protocol network

There is a newer version: 0.6.2
Show newest version
/*
 * Copyright 2018 Ocean Protocol Foundation
 * SPDX-License-Identifier: Apache-2.0
 */

package com.oceanprotocol.squid.exceptions;


/**
 * Business Exception related with Service Agreement issues
 */
public class ServiceAgreementException extends OceanException {

    private String serviceAgreementId;

    public ServiceAgreementException(String serviceAgreementId, String message, Throwable e) {

        super(message, e);
        this.serviceAgreementId = serviceAgreementId;

    }

    public ServiceAgreementException(String serviceAgreementId, String message) {

        super(message);
        this.serviceAgreementId = serviceAgreementId;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy