RoboterFabrik/Roboter/tpe/exceptions/RobotException.java

21 lines
420 B
Java
Raw Normal View History

2023-01-07 14:15:53 +01:00
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 {
}
}