Class CannotDecideException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.network.rpc.exception.CannotDecideException
All Implemented Interfaces:
Serializable

public class CannotDecideException extends RuntimeException
A runtime exception being thrown when the method selector for rpc cannot decide which method to use for the requested remote call because either no method or multiple methods are matching the given filter options.
Since:
4.0
See Also:
  • Constructor Details

    • CannotDecideException

      public CannotDecideException(@NonNull @NonNull String methodName)
      Constructs a new cannot decide exception wrapping the given method name into a nice readable message.
      Parameters:
      methodName - the name of the method which cannot be found.
      Throws:
      NullPointerException - if the given method name is null.