com.oceanprotocol.squid.exceptions.ServiceAgreementException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squid Show documentation
Show all versions of squid Show documentation
Squid facilitate the interaction of java clients with the Ocean Protocol network
/*
* 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;
}
}