StepDependencyException

class StepDependencyException(val messageEnum: StepDependencyExceptionMessage, val referencedStepIndex: Int, val args: Any, cause: Throwable? = null, queryContext: QueryContext? = null) : DatabaseException

Thrown when a reference to a result from a previous step (TransactionValue.FromStep) is invalid and cannot be resolved.

Parameters

messageEnum

Error message enum.

referencedStepIndex

Index of the step that the reference pointed to.

args

Arguments useful for the message.

Constructors

Link copied to clipboard
constructor(messageEnum: StepDependencyExceptionMessage, referencedStepIndex: Int, vararg args: Any, cause: Throwable? = null, queryContext: QueryContext? = null)
constructor(messageEnum: StepDependencyExceptionMessage, stepIndex: Int)

Properties

Link copied to clipboard
val args: Array<out Any>
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getDetailedMessage(): String

Subclasses can provide additional technical details here.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Enriches the exception with a full query context.

Link copied to clipboard

Enriches the exception with the transaction step index.