Package rx.exceptions
Class AssemblyStackTraceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rx.exceptions.AssemblyStackTraceException
- All Implemented Interfaces:
Serializable
A RuntimeException that is stackless but holds onto a textual
stacktrace from tracking the assembly location of operators.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssemblyStackTraceException
(String message) Constructs an AssemblyStackTraceException with the given message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Finds an empty cause slot and assigns itself to it.static AssemblyStackTraceException
Locate the first AssemblyStackTraceException in the causal chain of the given Throwable (or it if it's one).Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AssemblyStackTraceException
Constructs an AssemblyStackTraceException with the given message.- Parameters:
message
- the message
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-
attachTo
Finds an empty cause slot and assigns itself to it.- Parameters:
exception
- the exception to start from
-
find
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
-