RoboterFabrik/Roboter/tpe/exceptions/RobotException.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 {
}
}