Commit cdaf490a67e4fe857c095ee370aff03a53bd3caa

Authored by Georg GH. Hopp
Committed by Georg Hopp
1 parent 39cac098

change throw calls to raise

Showing 1 changed file with 2 additions and 2 deletions
@@ -16,7 +16,7 @@ module DsAdmin::Storage @@ -16,7 +16,7 @@ module DsAdmin::Storage
16 end 16 end
17 17
18 def read 18 def read
19 - throw "#{self.class}: read not implemented" 19 + raise "#{self.class}: read not implemented"
20 end 20 end
21 21
22 ## 22 ##
@@ -24,7 +24,7 @@ module DsAdmin::Storage @@ -24,7 +24,7 @@ module DsAdmin::Storage
24 # entry. 24 # entry.
25 # 25 #
26 def write(model) 26 def write(model)
27 - throw "#{self.class}: write not implemented" 27 + raise "#{self.class}: write not implemented"
28 end 28 end
29 29
30 def config_key 30 def config_key
Please register or login to post a comment