fertige Tests für Payment und Transfer

Kleine Anpassungen im Exception Handling der Konstruktoren
This commit is contained in:
2024-12-04 16:19:30 +01:00
parent ca2f056008
commit cc1e044d26
13 changed files with 773 additions and 412 deletions

View File

@@ -29,7 +29,7 @@ public interface Bank {
* @throws TransactionAttributeException if the validation check for certain attributes fail
*/
void createAccount(String account, List<Transaction> transactions)
throws AccountAlreadyExistsException, TransactionAlreadyExistException, TransactionAttributeException;
throws AccountAlreadyExistsException, TransactionAlreadyExistException, TransactionAttributeException, IOException;
/**
* Adds a transaction to an already existing account.