Class GracefulStopTimeoutError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
services.moleculer.error.MoleculerError
services.moleculer.error.GracefulStopTimeoutError
- All Implemented Interfaces:
Serializable
Custom Moleculer error class for graceful stopping.
- See Also:
-
Field Summary
Fields inherited from class MoleculerError
code, data, name, nodeID, retryable, stack, stackTrace, type -
Constructor Summary
ConstructorsConstructorDescriptionGracefulStopTimeoutError(io.datatree.Tree payload) GracefulStopTimeoutError(String nodeID, Object... data) -
Method Summary
Methods inherited from class MoleculerError
getCode, getData, getName, getStack, getType, isRemote, isRetryable, printStackTrace, printStackTrace, printStackTrace, toTree, toTreeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
GracefulStopTimeoutError
-
GracefulStopTimeoutError
public GracefulStopTimeoutError(io.datatree.Tree payload)
-