Class RPCExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.network.rpc.exception.RPCExecutionException
- All Implemented Interfaces:
Serializable
A runtime exception wrapping all remote execution exceptions produced by a rpc which get send back to the calling
network component.
- Since:
- 4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RPCExecutionException
public RPCExecutionException(@NonNull @NonNull String exceptionName, @NonNull @NonNull String message, @NonNull @NonNull String firstElement) Constructs a new rpc execution exception instance, with a formatted human-readable message based on the supplied arguments.- Parameters:
exceptionName- the name of the original thrown exception.message- the message of the original thrown exception.firstElement- the formatted first stack trace element of the original thrown exception.- Throws:
NullPointerException- if either the given exception name, message or first stack element is null.
-