added own Exceptiom NotEnoughMoneyException

main
WummerMIB 2022-11-09 09:10:38 +01:00
parent 37067f47d8
commit 29ac6122ac
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package de.hs_mannheim.informatik.bank.domain;
public class NotEnoughMoneyException extends IllegalArgumentException {
public NotEnoughMoneyException() {
}
public NotEnoughMoneyException(String message) {
super(message);
}
public NotEnoughMoneyException(Throwable cause) {
super(cause);
}
public NotEnoughMoneyException(String message, Throwable cause) {
super(message, cause);
}
}