Commit cdaf490a67e4fe857c095ee370aff03a53bd3caa
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 | 16 | end |
| 17 | 17 | |
| 18 | 18 | def read |
| 19 | - throw "#{self.class}: read not implemented" | |
| 19 | + raise "#{self.class}: read not implemented" | |
| 20 | 20 | end |
| 21 | 21 | |
| 22 | 22 | ## |
| ... | ... | @@ -24,7 +24,7 @@ module DsAdmin::Storage |
| 24 | 24 | # entry. |
| 25 | 25 | # |
| 26 | 26 | def write(model) |
| 27 | - throw "#{self.class}: write not implemented" | |
| 27 | + raise "#{self.class}: write not implemented" | |
| 28 | 28 | end |
| 29 | 29 | |
| 30 | 30 | def config_key | ... | ... |
Please
register
or
login
to post a comment