added own Exceptiom NotEnoughMoneyException
parent
37067f47d8
commit
29ac6122ac
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue