From 80e5059bed9235f2cdebea2ca5366898b36ed506 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sat, 16 Jan 2016 19:24:04 +0100 Subject: [PATCH] Revert "Merge pull request #1445 from WalterBright/message" This reverts commit 74e5d87148028134e6927c31e99c293e0e2f91bd, reversing changes made to c36cc5180a3ad59b099dec91bf0055d2e6508753. --- src/object.d | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/object.d b/src/object.d index f0871015cb..f0eb55a044 100644 --- a/src/object.d +++ b/src/object.d @@ -1689,7 +1689,6 @@ class Throwable : Object sink("@"); sink(file); sink("("); sink(sizeToTempString(line, tmpBuff, 10)); sink(")"); - auto msg = message(); if (msg.length) { sink(": "); sink(msg); @@ -1710,19 +1709,6 @@ class Throwable : Object } } } - - /** - * Get the message describing the error. - * Base behavior is to return the `Throwable.msg` field. - * Override to return some other error message. - * - * Returns: - * message - */ - const(char)[] message() const - { - return msg; - } }