package tpe.exceptions; @SuppressWarnings("serial") public class RobotException extends Exception{ String robotName; String errorMessage; RobotException(String errorMessage, String robotName){ super( "Robotname-"+robotName+": " + errorMessage ); } }