Browse Source

change throw calls to raise

master
Georg Hopp 15 years ago
committed by Georg Hopp
parent
commit
cdaf490a67
  1. 4
      app/storage.rb

4
app/storage.rb

@ -16,7 +16,7 @@ module DsAdmin::Storage
end end
def read def read
throw "#{self.class}: read not implemented"
raise "#{self.class}: read not implemented"
end end
## ##
@ -24,7 +24,7 @@ module DsAdmin::Storage
# entry. # entry.
# #
def write(model) def write(model)
throw "#{self.class}: write not implemented"
raise "#{self.class}: write not implemented"
end end
def config_key def config_key

Loading…
Cancel
Save