From 991126ae7318de495f84a9f295e1b5cf8d55a94b Mon Sep 17 00:00:00 2001 From: valerio <valerio@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Sun, 21 Mar 2010 17:35:13 +0000 Subject: [PATCH] Added new IOException to raise when file format has not been identified git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1856 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/io/src/io_exception.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/io/src/io_exception.hh b/modules/io/src/io_exception.hh index beca6ec2d..483f98bca 100644 --- a/modules/io/src/io_exception.hh +++ b/modules/io/src/io_exception.hh @@ -32,6 +32,12 @@ public: Error(m) {} }; +class IOUnknownFormatException: public Error { +public: + IOUnknownFormatException(const String& m): + Error(m) {} +}; + }} // ns #endif -- GitLab