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

misc: Remove unused code, log exceptions with logException

This commit is contained in:
Holger Hans Peter Freyther 2011-06-20 14:05:26 +02:00
parent ef1482477d
commit 6f37808cc1
2 changed files with 1 additions and 7 deletions

View File

@ -18,11 +18,6 @@
PackageLoader fileInPackage: 'OsmoNetwork'.
Exception subclass: BSCTerminated [
<comment: 'I am a signal that the BSC Connection terminated and
resources needs to be freed now.'>
]
OsmoGSM.SCCPHandler subclass: BSCSCCPHandler [
| bsc msc |
<comment: 'I handle SCCP for the MSC/BSC connection'>

3
MSC.st
View File

@ -50,8 +50,7 @@ Object subclass: MSCBSCConnectionHandler [
[
bsc := BSCIPAConnection createOn: aConnection withConfig: aConfig msc: msc.
] on: Exception do: [:ex |
self logError: 'BSC: Creating a handler failed.' area: #bsc.
ex printNl.
ex logException: 'BSC: Creating a handler failed.' area: #bsc.
aConnection close.
^ false
].