mirror of https://github.com/apache/lucene.git
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:
parent
bcc539c7ae
commit
3051e0a8dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue