Class AccountAlreadyHasADataContractWithProvider
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.logicmodule.datacontractmgr.AccountAlreadyHasADataContractWithProvider
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public final class AccountAlreadyHasADataContractWithProvider extends DataClayException
This class represents the exception produced in DataContractManager when an account already has a data contract with a specific dataset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountAlreadyHasADataContractWithProvider(AccountID accountID, DataSetID dataSetIDofProvider)
Exception produced when an account pretends to be registered in it, but it already was.
-
Method Summary
-
Methods inherited from class es.bsc.dataclay.exceptions.DataClayException
asGrpcException, deserialize, equals, getErrorcode, getLocalizedMessage, hashCode, printStackTrace, serialize, setErrorCode, setExceptionMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AccountAlreadyHasADataContractWithProvider
public AccountAlreadyHasADataContractWithProvider(AccountID accountID, DataSetID dataSetIDofProvider)
Exception produced when an account pretends to be registered in it, but it already was.- Parameters:
accountID
- the id of the accountdataSetIDofProvider
- the id of the contract
-
-