RankOutOfBoundsException

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

Parameters

message

the detail message for this exception

cause

the cause of this exception, or null if none