Pr_robot_factory/utility/robot_exceptions/robotExceptions.java

18 lines
342 B
Java
Raw Normal View History

2023-01-06 22:55:33 +01:00
package utility.robot_exceptions;
public enum robotExceptions {
ILLEGALSTATE("ist in einem illegalen Zustand"),
MAGICVALUE("Magic value"),
EMPTYARRAY("leer");
final String message;
private robotExceptions(String msg) {
this.message = msg;
}
public String getMessage() {
return message;
}
}