-
- Downloads
There was an error fetching the commit references. Please try again later.
Removed superfluous exceptions for file loading/saving
Exceptions are meant to categorize errors, so there should not be many different exceptions and they should not be specific for a small number of objects/functions. Let's make all save/load methods throw only 2 exceptions: FileSerializationError and FileDeserializationError.
Showing
- src/TNL/Containers/Array.hpp 4 additions, 4 deletionssrc/TNL/Containers/Array.hpp
- src/TNL/Containers/ArrayView.hpp 3 additions, 3 deletionssrc/TNL/Containers/ArrayView.hpp
- src/TNL/Exceptions/ArrayWrongSize.h 0 additions, 32 deletionssrc/TNL/Exceptions/ArrayWrongSize.h
- src/TNL/Exceptions/FileDeserializationError.h 2 additions, 2 deletionssrc/TNL/Exceptions/FileDeserializationError.h
- src/TNL/Exceptions/FileSerializationError.h 2 additions, 2 deletionssrc/TNL/Exceptions/FileSerializationError.h
- src/TNL/Exceptions/MeshFunctionDataMismatch.h 0 additions, 32 deletionssrc/TNL/Exceptions/MeshFunctionDataMismatch.h
- src/TNL/Exceptions/NotTNLFile.h 0 additions, 31 deletionssrc/TNL/Exceptions/NotTNLFile.h
- src/TNL/Exceptions/ObjectTypeDetectionFailure.h 0 additions, 31 deletionssrc/TNL/Exceptions/ObjectTypeDetectionFailure.h
- src/TNL/Exceptions/ObjectTypeMismatch.h 0 additions, 32 deletionssrc/TNL/Exceptions/ObjectTypeMismatch.h
- src/TNL/File.hpp 4 additions, 4 deletionssrc/TNL/File.hpp
- src/TNL/Functions/MeshFunction.h 1 addition, 1 deletionsrc/TNL/Functions/MeshFunction.h
- src/TNL/Functions/MeshFunction_impl.h 2 additions, 5 deletionssrc/TNL/Functions/MeshFunction_impl.h
- src/TNL/Meshes/Readers/TNLReader.h 1 addition, 11 deletionssrc/TNL/Meshes/Readers/TNLReader.h
- src/TNL/Object.h 34 additions, 18 deletionssrc/TNL/Object.h
- src/TNL/Object.hpp 3 additions, 5 deletionssrc/TNL/Object.hpp
- src/Tools/tnl-diff.cpp 1 addition, 10 deletionssrc/Tools/tnl-diff.cpp
- src/Tools/tnl-lattice-init.h 4 additions, 29 deletionssrc/Tools/tnl-lattice-init.h
Loading
Please register or sign in to comment