18 lines
342 B
Java
18 lines
342 B
Java
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;
|
|
}
|
|
}
|