generated from hummel/Bank-System
21 lines
420 B
Java
21 lines
420 B
Java
package tpe.exceptions;
|
|
import java.util.*;
|
|
import java.lang.Thread;
|
|
@SuppressWarnings("serial")
|
|
public class RobotException extends Exception {
|
|
|
|
public class MagicValueException extends Throwable {
|
|
throw new Exception("Die Zahl 42 kann nicht verarbeitet werden");
|
|
}
|
|
|
|
public RobotException(String string) {
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
public RobotException MagicValueException() throws {
|
|
|
|
|
|
}
|
|
|
|
}
|