Simplify Solr::Exception - Exception already allows for a message

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-01-30 06:06:37 +00:00
parent bcc539c7ae
commit 3051e0a8dd
1 changed files with 1 additions and 14 deletions

View File

@ -11,18 +11,5 @@
# limitations under the License.
module Solr
class Exception < Exception
attr_reader :message
def initialize(message)
@message = message
end
def to_s
@message
end
end
class Exception < Exception; end
end