|
|
6.163 SystemExceptions WrongMessageSent
- Defined in namespace Smalltalk SystemExceptions
- Category: Language-Exceptions
- I am raised when a method is called that a class wishes that is not
called. This exception also includes a suggestion on which message
should be sent instead
6.163.1 SystemExceptions WrongMessageSent class: signaling
- signalOn: selector useInstead: aSymbol
- Raise an exception, signaling which selector was sent and suggesting a valid alternative.
6.163.2 SystemExceptions WrongMessageSent: accessing
- messageText
- Answer an exception's message text.
- selector
- Answer which selector was sent.
- selector: aSymbol
- Set which selector was sent.
- suggestedSelector
- Answer a valid alternative to the selector that was used.
- suggestedSelector: aSymbol
- Set a valid alternative to the selector that was used.
|