smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

gsm: Use "self error:" instead of Exception signal

The issue is that [] on: Error do: [] will not handle the
Exception. Use the plain self error handling.
This commit is contained in:
Holger Hans Peter Freyther 2014-08-20 23:14:42 +02:00
parent 9bd9a9e3b6
commit fb5ddd43bb
1 changed files with 2 additions and 2 deletions

View File

@ -2093,8 +2093,8 @@ Osmo.TLVParserBase subclass: GSM48MSG [
].
].
Exception signal: 'No one handles: ', classType asString,
' and: ', messageType asString.
^self error: 'No one handles: ', classType asString,
' and: ', messageType asString.
]
GSM48MSG class >> parseFrom: aStream [