RoboterFabrik/Roboter/tpe/exceptions/RobotException.java

13 lines
288 B
Java
Raw Normal View History

2023-01-07 14:15:53 +01:00
package tpe.exceptions;
2023-01-07 16:32:29 +01:00
@SuppressWarnings("serial")
public class RobotException extends Exception{
String robotName;
String errorMessage;
RobotException(String errorMessage, String robotName){
super( "Robotname-"+robotName+": " + errorMessage );
}
}