SignalReplayException
class SignalReplayException
Extends: RuntimeException
Package: dev.joid.internal.signal.replay · Module: core · Source: SignalReplayException.java
Reason why the replay cannot follow an expression, with the advice that the dev warning prints.
Description
Section titled “Description”The replay throws and catches it internally; it reaches application code only through the warning text.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| SignalReplayException(SignalReplayFailure failure, Object… arguments) | Creates the exception of failure, whose message is its reason filled with arguments. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | getAdvice() | Returns the fix that the warning suggests, filled with the arguments. |
Object[] | getArguments() | Returns the values that fill the reason and the advice. |
SignalReplayFailure | getFailure() | Returns the kind of failure. |
Creation details
Section titled “Creation details”SignalReplayException
Section titled “SignalReplayException”SignalReplayException(SignalReplayFailure failure, Object... arguments)
Creates the exception of failure, whose message is its reason filled with arguments.
Method details
Section titled “Method details”getAdvice
Section titled “getAdvice”String getAdvice()
Returns the fix that the warning suggests, filled with the arguments.
getArguments
Section titled “getArguments”Object[] getArguments()
Returns the values that fill the reason and the advice.
getFailure
Section titled “getFailure”SignalReplayFailure getFailure()
Returns the kind of failure.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
