fixed: missing exception processing for UnknownFormat and FormatError