inheritsFrom: should not be used/redefined in the exception
authorClaus Gittinger <cg@exept.de>
Tue, 14 Mar 2006 13:54:37 +0100
changeset 9272 54db0dd92b16
parent 9271 6be3fa0ab53d
child 9273 3ef50bca3bf4
inheritsFrom: should not be used/redefined in the exception hierarchy - it conflicts with behaviors #inheritsFrom: and makes Exception fail some inheritance queries.
GenericException.st
--- a/GenericException.st	Tue Mar 14 13:54:25 2006 +0100
+++ b/GenericException.st	Tue Mar 14 13:54:37 2006 +0100
@@ -473,18 +473,6 @@
     ^ false
 !
 
-inheritsFrom:anotherSignal
-    "return true, if the receiver is a child of anotherSignal
-     (i.e. if handling anotherSignal also handles the receiver)
-     This is almost the same as accepts, but returns false, if
-     the receiver is identical to anotherSignal."
-
-    self == anotherSignal ifTrue:[^ false].
-    ^ anotherSignal accepts:self
-
-    "Created: / 23.7.1999 / 13:59:51 / stefan"
-!
-
 isHandled
     "return true, if there is a handler for the receiver signal.
      Raising an unhandled signal will usually lead into the debugger,
@@ -1972,7 +1960,7 @@
 !GenericException class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.101 2005-09-15 20:32:43 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.102 2006-03-14 12:54:37 cg Exp $'
 ! !
 
 GenericException initialize!