InitializationIssue

class InitializationIssue: Warning

Fields

Name Description
val goal: Struct
val cause: ResolutionException?

the cause of this exception.

Constructors

<init>

constructor(goal: Struct, cause: ResolutionException?, context: ExecutionContext)

Parameters

Name Description
goal: Struct
cause: ResolutionException?
context: ExecutionContext

<init>

constructor(goal: Struct, cause: ResolutionException?, contexts: Array<ExecutionContext>)

Parameters

Name Description
goal: Struct
cause: ResolutionException?
contexts: Array<ExecutionContext>

Methods

updateContext

fun updateContext(newContext: ExecutionContext, index: Int): InitializationIssue

Creates a new exception instance with the context with in position index updated to newContext. Subclasses should override this method and return the correct instance.

Parameters

Name Description
newContext: ExecutionContext
index: Int

ReturnValue

Name Description
InitializationIssue

updateLastContext

fun updateLastContext(newContext: ExecutionContext): InitializationIssue

Parameters

Name Description
newContext: ExecutionContext

ReturnValue

Name Description
InitializationIssue

pushContext

fun pushContext(newContext: ExecutionContext): InitializationIssue

Parameters

Name Description
newContext: ExecutionContext

ReturnValue

Name Description
InitializationIssue