summaryrefslogtreecommitdiff
path: root/lib/rubygems/exceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/exceptions.rb')
-rw-r--r--lib/rubygems/exceptions.rb13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/rubygems/exceptions.rb b/lib/rubygems/exceptions.rb
index 3924f9dde6..ac1e8b49cf 100644
--- a/lib/rubygems/exceptions.rb
+++ b/lib/rubygems/exceptions.rb
@@ -5,18 +5,7 @@ require 'rubygems/deprecate'
##
# Base exception class for RubyGems. All exception raised by RubyGems are a
# subclass of this one.
-class Gem::Exception < RuntimeError
-
- ##
- #--
- # TODO: remove in RubyGems 4, nobody sets this
-
- attr_accessor :source_exception # :nodoc:
-
- extend Gem::Deprecate
- deprecate :source_exception, :none, 2018, 12
-
-end
+class Gem::Exception < RuntimeError; end
class Gem::CommandLineError < Gem::Exception; end