Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Minor Change
Description
For accidental historical reasons we sometimes throw a FileFormatException when what we really meant to throw was usually a FormatException.
As a first step in removing all uses of FileFormatException we will simply replace all occurences with FormatException.
Later on we plan to study more carefully what exceptions can be thrown during serialization/deserialization and may make further changes. When that happens we will link this ticket to that one.
This is a backward breaking change. If you were catching FileFormatExceptions you will no longer be catching the new FormatExceptions.
However, because FileFormatException derives from FormatException, if you were catching FormatExceptions you will not have to change your code.