I have to implement my own exception (a GameException) which is thrown by the alpha beta algorithm in a nullsumm game.
Is this correct?
import java.lang.Exception;
 public class GameException extends Exception { 
     public static final long serialVersionUID = 3654258946527845L;
     public static final String NoValidMoves = "There are noe valid moves!";
    GameException(String Message) {
        super(Message);
    }
    GameException() {
    }
}
 
     
    