-
- All Implemented Interfaces:
-
java.io.Serializable
public final class AssemblyStackTraceException extends RuntimeException
A RuntimeException that is stackless but holds onto a textual stacktrace from tracking the assembly location of operators.
-
-
Constructor Summary
Constructors Constructor Description AssemblyStackTraceException(String message)
Constructs an AssemblyStackTraceException with the given message.
-
Method Summary
Modifier and Type Method Description synchronized Throwable
fillInStackTrace()
void
attachTo(Throwable exception)
Finds an empty cause slot and assigns itself to it. static AssemblyStackTraceException
find(Throwable e)
Locate the first AssemblyStackTraceException in the causal chain of thegiven Throwable (or it if it's one). -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AssemblyStackTraceException
AssemblyStackTraceException(String message)
Constructs an AssemblyStackTraceException with the given message.- Parameters:
message
- the message
-
-
Method Detail
-
fillInStackTrace
synchronized Throwable fillInStackTrace()
-
attachTo
void attachTo(Throwable exception)
Finds an empty cause slot and assigns itself to it.
- Parameters:
exception
- the exception to start from
-
find
static AssemblyStackTraceException find(Throwable e)
Locate the first AssemblyStackTraceException in the causal chain of thegiven Throwable (or it if it's one).
- Parameters:
e
- the input throwable
-
-
-
-