RankOutOfBoundsException

class RankOutOfBoundsException(message: String = "Rank value should be in the range of 1..8", cause: Throwable? = null) : ChessCoreException

Exception thrown when a rank value is outside the valid range (1..8).

Parameters

message

the detail message for this exception

cause

the cause of this exception, or null if none

Constructors

Link copied to clipboard
constructor(message: String = "Rank value should be in the range of 1..8", cause: Throwable? = null)