eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'OSErrorHolder':

Home

everywhere
www.exept.de
for:
[back]

Class: OSErrorHolder


Inheritance:

   Object
   |
   +--OSErrorHolder

Package:
stx:libbasic
Category:
OS-Support
Version:
rev: 1.17 date: 2009/10/06 08:31:33
user: cg
file: OSErrorHolder.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Stefan Vogel

Description:


This class represents low level operating system errors.
We do not use error numbers, because there may be different errnos
for the same error on different systems.

[instance variables:]
    errorSymbol             symbol associated with this error
    errorCategory           symbol defining the error category.
                            This is in fact a symbol that returns a
                            Signal when sent to myself.

    While the errorSymbol may be different on different platforms,
    the errorCategories (which refer to the Signals that will be raised) 
    are identical.
    You can get an OS independent error message for an error by sending
    #errorCategoryString.


Related information:

    OperatingSystem

Class protocol:

Signal constants
o  allocRetrySignal

o  badAccessorSignal

o  badArgumentsSignal

o  classNotRegisteredSignal

o  coNotInitializedSignal

o  defaultOsErrorSignal

o  existingReferentSignal

o  illegalOperationSignal

o  inaccessibleSignal

o  inappropriateOperationSignal

o  inappropriateReferentSignal

o  invalidArgumentsSignal
return the signal for invalid arguments (e.g. right class, wrong value).

o  needRetrySignal

o  noAccociationSignal

o  noAggregationSignal

o  noDataSignal

o  noInterfaceSignal

o  noMemorySignal

o  noPermissionsSignal

o  noResourcesSignal

o  noVerbsSignal

o  nonexistentSignal
return the signal for non existing referents (i.e. device, file etc.).

o  notReadySignal

o  peerFaultSignal

o  rangeErrorSignal

o  signalNamed: signalName

o  transferFaultSignal

o  transientErrorSignal

o  unavailableReferentSignal

o  underSpecifiedSignal

o  unknownNameSignal

o  unpreparedOperationSignal

o  unsupportedOperationSignal

o  volumeFullSignal

o  wrongSubtypeForOperationSignal

accessing
o  errorSignal

class initialization
o  initialize
init signals etc.

o  setupSignal: aSymbol parent: parentSignal notifier: aString
setup a signal, which can be retrieved by sending aSymbol to self.
Return the new signal


Instance protocol:

accessing
o  errorSymbol: sym errorCategory: typ

o  parameter

o  parameter: something

error reporting
o  reportError
Report an error.

others
o  errorString

o  errorSymbol



ST/X 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 21:25:53 GMT