Added annotation processing from "dev"-Branche

This commit is contained in:
Finn
2025-09-29 18:45:18 +02:00
parent 244bc7f681
commit f9ec00add4
5 changed files with 208 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package org.openautonomousconnection.protocol.exceptions;
import org.openautonomousconnection.protocol.versions.ProtocolVersion;
/**
* Exception thrown when an unsupported protocol side method is called.
*/
public class IncompatibleProtocolSideException extends RuntimeException {
public IncompatibleProtocolSideException(ProtocolVersion.ProtocolSide callerSide, ProtocolVersion.ProtocolSide side) {
super(callerSide.name() + " is incompatible with called method of ProtocolSide " + side.name());
}
}