eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Exception':

Home

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

Class: Exception


Inheritance:

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

Package:
stx:libbasic
Category:
Kernel-Exceptions
Version:
rev: 1.84 date: 2016/11/24 16:55:01
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
    Notification
    Signal

Class protocol:

testing
o  isAbstract



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 21 Nov 2018 17:52:20 GMT