Package rx.exceptions

Class AssemblyStackTraceException

All Implemented Interfaces:
Serializable

@Experimental public final class AssemblyStackTraceException extends RuntimeException
A RuntimeException that is stackless but holds onto a textual stacktrace from tracking the assembly location of operators.
See Also:
  • Field Details

  • Constructor Details

    • AssemblyStackTraceException

      public AssemblyStackTraceException(String message)
      Constructs an AssemblyStackTraceException with the given message.
      Parameters:
      message - the message
  • Method Details

    • fillInStackTrace

      public Throwable fillInStackTrace()
      Overrides:
      fillInStackTrace in class Throwable
    • attachTo

      public void attachTo(Throwable exception)
      Finds an empty cause slot and assigns itself to it.
      Parameters:
      exception - the exception to start from
    • find

      public static AssemblyStackTraceException find(Throwable e)
      Locate the first AssemblyStackTraceException in the causal chain of the given Throwable (or it if it's one).
      Parameters:
      e - the input throwable
      Returns:
      the AssemblyStackTraceException located or null if not found