Package hu.akarnokd.rxjava3.debug
Class RxJavaAssemblyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- hu.akarnokd.rxjava3.debug.RxJavaAssemblyException
-
- All Implemented Interfaces:
Serializable
public final class RxJavaAssemblyException extends RuntimeException
Holds onto the assembly stacktrace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RxJavaAssemblyException()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowableappendLast(Throwable ex)Try appending this RxJavaAssemblyException as the very last cause of the given throwable.static StringbuildStackTrace()ThrowablefillInStackTrace()static RxJavaAssemblyExceptionfind(Throwable ex)Tries to locate the RxJavaAssemblyException in the chain of causes of the given Throwable.StringgetMessage()Stringstacktrace()Returns the captured and filtered stacktrace.-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
buildStackTrace
public static String buildStackTrace()
-
stacktrace
public String stacktrace()
Returns the captured and filtered stacktrace.- Returns:
- the captured and filtered stacktrace
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTracein classThrowable
-
appendLast
public Throwable appendLast(Throwable ex)
Try appending this RxJavaAssemblyException as the very last cause of the given throwable.- Parameters:
ex- the Throwable to append to- Returns:
- ex
-
find
public static RxJavaAssemblyException find(Throwable ex)
Tries to locate the RxJavaAssemblyException in the chain of causes of the given Throwable.- Parameters:
ex- the Throwable to start scanning- Returns:
- the RxJavaAssemblyException found or null
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-