forked from hummel/Bank-System
changed own Exception
parent
8d57d6dc8f
commit
37067f47d8
|
@ -1,7 +1,17 @@
|
|||
package de.hs_mannheim.informatik.bank.domain;
|
||||
|
||||
public class KundeNullException extends Exception {
|
||||
public KundeNullException() {
|
||||
System.err.println("Error: Kunde ist Null");
|
||||
public KundeNullException() {}
|
||||
|
||||
public KundeNullException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public KundeNullException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public KundeNullException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue