Pr_robot_factory/utility/robot_exceptions/robotExceptions.java

18 lines
341 B
Java
Raw Normal View History

package safety.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;
}
}