public static GridColumn ToGridColumn(byte column, SessionType currentSessionType) { try { return GridColumnMap[(int)currentSessionType - 1][column - 1]; } catch(IndexOutOfRangeException) { throw Guard.LiveData_UnableToConvertToGridColumn(column, currentSessionType); } }