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.86 date: 2021/11/26 13:56:04
user: cg
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.

copyright

COPYRIGHT (c) 1993 by Claus Gittinger 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:

testing
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 10:59:17 GMT