lib/ardtweeno/exceptions.rb in ardtweeno-0.5.0 vs lib/ardtweeno/exceptions.rb in ardtweeno-0.6.0
- old
+ new
@@ -1,6 +1,30 @@
-require 'rubygems'
+=begin
+####################################################################################################
+# @author David Kirwan https://github.com/davidkirwan/ardtweeno
+# @description Ardtweeno Gateway
+#
+# @date 2014-08-12
+####################################################################################################
+
+This file is part of Ardtweeno.
+
+Ardtweeno is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+any later version.
+
+Ardtweeno is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+=end
+
+
require 'ardtweeno'
module Ardtweeno
class DBError < Exception
@@ -34,6 +58,8 @@
end
class AlreadyWatched < Exception
end
+ class SensorException < Exception
+ end
end