eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SocketErrorNotification':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: SocketErrorNotification


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Notification
         |
         +--SocketErrorNotification

Package:
stx:libbasic2
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.6 date: 2022/11/24 15:02:32
user: stefan
file: SocketErrorNotification.st directory: libbasic2
module: stx stc-classLibrary: libbasic2

Description:


This notification is raised, when an error in a Socket operation is detected.
It is used to have a soft transition from old code checking for false
to code catching exceptions.


[instance variables:]
    parameter    - the OSError containing the error number and error string.

[class variables:]

copyright

COPYRIGHT (c) 2018 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  defaultNotifierString


Instance protocol:

accessing
o  errorCategory
return the generic OS independent error category.
return #unknown, if this is not an OS error

o  errorCode
return theOS dependent error number.
return nil, if this is not an OS error.
Named #errorCode for protocol compatibility with the StreamError class.

o  errorSymbol
return the possibly OS dependent error symbol.
return nil, if this is not an OS error

o  osErrorHolder

o  osErrorString
return the generi OS independent error category.
return nil, if this is not an OS error

error reporting
o  reportError
raise as an OS error

printing & storing
o  description
lazy initialization - the text is not needed for caught exceptions

o  initializeMessageText
for lazy initialization - the text is not needed for caught exceptions

o  messageText
lazy initialization - the text is not needed for caught exceptions



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 24 Nov 2024 07:09:11 GMT