Added annotation processing from "dev"-Branche
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user