Package rx.exceptions
Class AssemblyStackTraceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- rx.exceptions.AssemblyStackTraceException
-
- All Implemented Interfaces:
java.io.Serializable
@Experimental public final class AssemblyStackTraceException extends java.lang.RuntimeException
A RuntimeException that is stackless but holds onto a textual stacktrace from tracking the assembly location of operators.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AssemblyStackTraceException(java.lang.String message)
Constructs an AssemblyStackTraceException with the given message.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachTo(java.lang.Throwable exception)
Finds an empty cause slot and assigns itself to it.java.lang.Throwable
fillInStackTrace()
static AssemblyStackTraceException
find(java.lang.Throwable e)
Locate the first AssemblyStackTraceException in the causal chain of the given Throwable (or it if it's one).
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classjava.lang.Throwable
-
attachTo
public void attachTo(java.lang.Throwable exception)
Finds an empty cause slot and assigns itself to it.- Parameters:
exception
- the exception to start from
-
find
public static AssemblyStackTraceException find(java.lang.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
-
-