Class AccountNotExistException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- es.bsc.dataclay.exceptions.DataClayException
-
- es.bsc.dataclay.exceptions.logicmodule.accountmgr.AccountNotExistException
-
- All Implemented Interfaces:
DataClaySerializable
,Serializable
public class AccountNotExistException extends DataClayException
This class represents the exceptions produced in AccountManager module when a new Account to validate does not exist.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountNotExistException(AccountID accountID)
This Exception is called when and account with ID provided does not existAccountNotExistException(String accountName)
This Exception is called when and account with name provided does not exist
-
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
-
AccountNotExistException
public AccountNotExistException(AccountID accountID)
This Exception is called when and account with ID provided does not exist- Parameters:
accountID
- ID of the account
-
AccountNotExistException
public AccountNotExistException(String accountName)
This Exception is called when and account with name provided does not exist- Parameters:
accountName
- Name of the account
-
-