Error.st
author Stefan Vogel <sv@exept.de>
Wed, 04 Aug 1999 08:56:09 +0200
changeset 4516 925ed9e301d3
parent 4466 9cba6f4ecec4
child 4527 2ddbe34bab87
permissions -rw-r--r--
Fix doku; initialize.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4466
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     1
"
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     2
 COPYRIGHT (c) 1999 by eXept Software AG
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     3
              All Rights Reserved
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     4
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     5
 This software is furnished under a license and may be used
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     6
 only in accordance with the terms of that license and with the
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     8
 be provided or otherwise made available to, or used by, any
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
     9
 other person.  No title to or ownership of the software is
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    10
 hereby transferred.
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    11
"
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    12
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    13
4444
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
Exception subclass:#Error
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	category:'Kernel-Exceptions'
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
!Error class methodsFor:'documentation'!
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
4466
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    23
copyright
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    24
"
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    25
 COPYRIGHT (c) 1999 by eXept Software AG
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    26
              All Rights Reserved
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    27
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    28
 This software is furnished under a license and may be used
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    29
 only in accordance with the terms of that license and with the
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    31
 be provided or otherwise made available to, or used by, any
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    32
 other person.  No title to or ownership of the software is
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    33
 hereby transferred.
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    34
"
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    35
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    36
!
9cba6f4ecec4 copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents: 4444
diff changeset
    37
4444
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
documentation
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
"
4516
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    40
    Error is the superclass and parent of all error exceptions in the system
4444
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
    [author:]
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
        Stefan Vogel
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
    [see also:]
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
        Signal
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
"
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
! !
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
4516
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    50
!Error class methodsFor:'initialization'!
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    51
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    52
initialize
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    53
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    54
    NotifierString := 'error encountered'.
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    55
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    56
    "Created: / 4.8.1999 / 08:48:18 / stefan"
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    57
! !
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    58
4444
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
!Error class methodsFor:'queries'!
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
mayProceed
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
    "By default, errors do not allow to proceed.
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
     Subclasses may change this"
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    65
    ^ false
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    66
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
    "Created: / 23.7.1999 / 14:52:26 / stefan"
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    68
    "Modified: / 23.7.1999 / 14:52:39 / stefan"
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    69
! !
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    70
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    71
!Error class methodsFor:'documentation'!
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    72
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    73
version
4516
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    74
    ^ '$Header: /cvs/stx/stx/libbasic/Error.st,v 1.3 1999-08-04 06:56:09 stefan Exp $'
4444
0709daf55558 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    75
! !
4516
925ed9e301d3 Fix doku; initialize.
Stefan Vogel <sv@exept.de>
parents: 4466
diff changeset
    76
Error initialize!