]> git.r.bdr.sh - rbdr/lyricli.rb/commitdiff
Adds skeletons for Exceptions
authorBen Beltran <redacted>
Sat, 6 Oct 2012 07:40:28 +0000 (02:40 -0500)
committerBen Beltran <redacted>
Sat, 6 Oct 2012 07:40:28 +0000 (02:40 -0500)
13 files changed:
.yardoc/checksums [deleted file]
.yardoc/object_types [deleted file]
.yardoc/objects/root.dat [deleted file]
.yardoc/proxy_types [deleted file]
lib/lyricli/exceptions/disable_source_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/enable_source_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/invalid_lyrics_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/lyrics_not_found_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/reset_source_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/source_configuration_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/start_source_exception.rb [new file with mode: 0644]
lib/lyricli/exceptions/unknown_source_exception.rb [new file with mode: 0644]
lib/lyricli/source_manager.rb

diff --git a/.yardoc/checksums b/.yardoc/checksums
deleted file mode 100644 (file)
index b2fe954..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-lib/lyricli.rb 51e33086d1cbac6ccd601dd481a3b455376efb46
-lib/lyricli/util.rb 26284bcf3521994d5f81c5f10a750dad8fda1593
-lib/lyricli/lyricli.rb 5a966a6402b5646b2c755cf79c3f7006b4a6d818
-lib/lyricli/sources.rb 69d670f2d008827b861dcd543caad3986ccc323e
-lib/lyricli/exceptions.rb 943e408e869981dded31cd236da1da937e6b0574
-lib/lyricli/sources/rdio.rb 8936e4de676719c26fe6b8fcf2396b85d5723996
-lib/lyricli/lyrics_engine.rb 9ebc53647e5be739ce8a0fe1e7d10fbce02d7083
-lib/lyricli/configuration.rb f08b1caf4dffacccf888c5b22e4a8e3107f004d6
-lib/lyricli/sources/itunes.rb aadca88a9ad0d0b4c918d86874f403d10ec3add7
-lib/lyricli/source_manager.rb d16a3e3592f48dbda8adbef1b1cfe49a9dc42617
-lib/lyricli/sources/arguments.rb fa19b956453041cf5df0402142cbe073f2c9e686
diff --git a/.yardoc/object_types b/.yardoc/object_types
deleted file mode 100644 (file)
index 1ed18b4..0000000
Binary files a/.yardoc/object_types and /dev/null differ
diff --git a/.yardoc/objects/root.dat b/.yardoc/objects/root.dat
deleted file mode 100644 (file)
index 8522ce3..0000000
Binary files a/.yardoc/objects/root.dat and /dev/null differ
diff --git a/.yardoc/proxy_types b/.yardoc/proxy_types
deleted file mode 100644 (file)
index beefda1..0000000
Binary files a/.yardoc/proxy_types and /dev/null differ
diff --git a/lib/lyricli/exceptions/disable_source_exception.rb b/lib/lyricli/exceptions/disable_source_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/enable_source_exception.rb b/lib/lyricli/exceptions/enable_source_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/invalid_lyrics_exception.rb b/lib/lyricli/exceptions/invalid_lyrics_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/lyrics_not_found_exception.rb b/lib/lyricli/exceptions/lyrics_not_found_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/reset_source_exception.rb b/lib/lyricli/exceptions/reset_source_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/source_configuration_exception.rb b/lib/lyricli/exceptions/source_configuration_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/start_source_exception.rb b/lib/lyricli/exceptions/start_source_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/lyricli/exceptions/unknown_source_exception.rb b/lib/lyricli/exceptions/unknown_source_exception.rb
new file mode 100644 (file)
index 0000000..e69de29
index 3514c3408579db0ef7cb41404ed4685c6ee17bcf..020870d6c78cfd0bd804c180cb0163f1ff133960 100644 (file)
@@ -36,7 +36,7 @@ module Lyricli
           raise EnableSourceException
         end
       else
           raise EnableSourceException
         end
       else
-        raise UnknownSource
+        raise UnknownSourceException
       end
     end
 
       end
     end
 
@@ -53,7 +53,7 @@ module Lyricli
           raise DisableSourceException
         end
       else
           raise DisableSourceException
         end
       else
-        raise UnknownSource
+        raise UnknownSourceException
       end
     end
 
       end
     end
 
@@ -70,7 +70,7 @@ module Lyricli
           raise ResetSourceException
         end
       else
           raise ResetSourceException
         end
       else
-        raise UnknownSource
+        raise UnknownSourceException
       end
     end
 
       end
     end