Add: Exception to throw when required Parameter is not found

This commit is contained in:
Lars Simon Winzer
2026-03-30 12:06:52 +02:00
parent 8d571172d5
commit db9ea45530
@@ -0,0 +1,14 @@
package ch.unibas.dmi.dbis.cs108.casono.server.network.parser;
public class MissingParameterException extends RuntimeException {
private final String parameterKey;
public MissingParameterException(String message, String parameterKey) {
super(message);
this.parameterKey = parameterKey;
}
public String getParameterKey() {
return parameterKey;
}
}