Top Description Fields Constructors Methods
rx.exceptions

public final Class AssemblyStackTraceException

extends RuntimeException
Class Inheritance
Imports
java.util.*, rx.plugins.RxJavaHooks

A RuntimeException that is stackless but holds onto a textual stacktrace from tracking the assembly location of operators.
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AssemblyStackTraceException(String
the message
message
)

Constructs an AssemblyStackTraceException with the given message.

Method Summary

Modifier and TypeMethod and Description
public void
attachTo(Throwable
the exception to start from
exception
)

Finds an empty cause slot and assigns itself to it.

public synchronized Throwable
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace.
public static AssemblyStackTraceException

Returns:

the AssemblyStackTraceException located or null if not found
find
(Throwable
the input throwable
e
)

Locate the first AssemblyStackTraceException in the causal chain of the given Throwable (or it if it's one).

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

AssemblyStackTraceExceptionback to summary
public AssemblyStackTraceException(String message)

Constructs an AssemblyStackTraceException with the given message.

Parameters
message:String

the message

Method Detail

attachToback to summary
public void attachTo(Throwable exception)

Finds an empty cause slot and assigns itself to it.

Parameters
exception:Throwable

the exception to start from

fillInStackTraceback to summary
public synchronized Throwable fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Doc from java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this Throwable is not writable, calling this method has no effect.

Returns:Throwable

a reference to this Throwable instance.

Annotations
@Override
findback to summary
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:Throwable

the input throwable

Returns:AssemblyStackTraceException

the AssemblyStackTraceException located or null if not found