Class FunctionTagging.FunctionTaggingException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    FunctionTagging

    public static final class FunctionTagging.FunctionTaggingException
    extends RuntimeException
    The stackless tagging exception appended to the chain of causes of the original exception thrown by the wrapped function.

    This exception doesn't store the actual stacktrace as it only clutters the original stacktrace when printed.

    See Also:
    Serialized Form
    • Constructor Detail

      • FunctionTaggingException

        public FunctionTaggingException​(String message)
        Constructs a FunctionTaggingException with the given message.
        Parameters:
        message - the message
    • Method Detail

      • appendLast

        public Throwable appendLast​(Throwable ex)
        Try appending this FunctionTaggingException as the very last cause of the given throwable.
        Parameters:
        ex - the Throwable to append to
        Returns:
        ex the original Throwable