@Experimental public final class AssemblyStackTraceException extends RuntimeException
Constructor and Description |
---|
AssemblyStackTraceException(String message)
Constructs an AssemblyStackTraceException with the given message.
|
Modifier and Type | Method and Description |
---|---|
void |
attachTo(Throwable exception)
Finds an empty cause slot and assigns itself to it.
|
Throwable |
fillInStackTrace() |
static AssemblyStackTraceException |
find(Throwable e)
Locate the first AssemblyStackTraceException in the causal chain of the
given Throwable (or it if it's one).
|
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AssemblyStackTraceException(String message)
message
- the messagepublic Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
public void attachTo(Throwable exception)
exception
- the exception to start frompublic static AssemblyStackTraceException find(Throwable e)
e
- the input throwableCopyright © 2023. All rights reserved.