2023-01-06 22:55:33 +01:00
|
|
|
package utility.robot_exceptions;
|
2023-01-02 19:51:04 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|