diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-10 08:00:19 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-10 08:00:19 +0000 |
commit | 5d613c83ccb6992c6b99e5a23512719604bbdae9 (patch) | |
tree | 8f1591102f7c8e1a27bd3c30b43567ced67e2519 /lib/rubygems/exceptions.rb | |
parent | c12b28936266c205d174458f0bd21766154048f7 (diff) | |
download | ruby-5d613c83ccb6992c6b99e5a23512719604bbdae9.tar.gz |
Import RubyGems r1601. [ruby-core:15381].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/exceptions.rb')
-rw-r--r-- | lib/rubygems/exceptions.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rubygems/exceptions.rb b/lib/rubygems/exceptions.rb index 294dad5748..b34bc718ff 100644 --- a/lib/rubygems/exceptions.rb +++ b/lib/rubygems/exceptions.rb @@ -11,8 +11,12 @@ class Gem::DependencyError < Gem::Exception; end class Gem::DependencyRemovalException < Gem::Exception; end +## +# Raised when attempting to uninstall a gem that isn't in GEM_HOME. +class Gem::GemNotInHomeException < Gem::Exception; end + class Gem::DocumentError < Gem::Exception; end - + ## # Potentially raised when a specification is validated. class Gem::EndOfYAMLException < Gem::Exception; end |