Skip to content

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.

The replay throws and catches it internally; it reaches application code only through the warning text.

ReturnsSignatureSummary
SignalReplayException(SignalReplayFailure failure, Object… arguments)Creates the exception of failure, whose message is its reason filled with arguments.

ReturnsSignatureSummary
StringgetAdvice()Returns the fix that the warning suggests, filled with the arguments.
Object[]getArguments()Returns the values that fill the reason and the advice.
SignalReplayFailuregetFailure()Returns the kind of failure.

SignalReplayException(SignalReplayFailure failure, Object... arguments)

Creates the exception of failure, whose message is its reason filled with arguments.

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.


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

Report a problem with this page