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
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 Summary
ConstructorsConstructorDescriptionCannotDecideException(@NonNull String methodName) Constructs a new cannot decide exception wrapping the given method name into a nice readable message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotDecideException
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.
-