eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Exception':

Home

everywhere
www.exept.de
for:
[back]

Class: Exception


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--ControlRequest
         |
         +--Error

Package:
stx:libbasic
Category:
Kernel-Exceptions
Version:
rev: 1.82 date: 2003/10/07 13:25:24
user: stefan
file: Exception.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Exception is an abstract superclass of all exceptions in the system,
which are not generated by user actions (e.g. keyboard interrupts) nor by
errors in the exception system itself.

Think twice before subclassing directly from Exception. Consider to subclass
from one of Exceptions subclasses Error, Warning, UserNotification...

You should also handle Error instead of Exception, since breakpoints,
halts and user informational messages are processed as exceptions.

The behavior is in GenericException, to allow for some exceptions 
(UnhandledExceptionException and UserInterrupts) not to be a child of Exception.


Related information:

    Error
    Warning
    UserNotification
    Notifcation
    Signal


ST/X 6.1.1; WebServer 1.620 at exept:8081; Mon, 21 May 2012 16:27:37 GMT