Made InvalidFormatException constructor public