Class MessageQueueTimeoutException

    • Constructor Detail

      • MessageQueueTimeoutException

        public MessageQueueTimeoutException​(String message)
        Constructs a new instance with the specified error message.
        Parameters:
        message - The error message.
    • Method Detail

      • forkFromAsync

        public HekateException forkFromAsync()
        Description copied from class: HekateException
        Forks this exception by creating a new exception that has this instance as its cause.

        The primary use case of this method is to re-throw exceptions from asynchronous contexts (f.e. exceptions thrown by Future.get() method).

        Overrides:
        forkFromAsync in class MessageTimeoutException
        Returns:
        Fork of this exception.