VMInternalError.st
author Stefan Vogel <sv@exept.de>
Fri, 23 Apr 2004 13:41:49 +0200
changeset 8329 1828c8969866
child 8333 9b32f94426ca
permissions -rw-r--r--
initial checkin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8329
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2001 by eXept Software AG
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     4
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    10
 hereby transferred.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    11
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    12
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
"{ Package: 'stx:libbasic' }"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
Error subclass:#VMInternalError
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	instanceVariableNames:''
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	classVariableNames:''
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	poolDictionaries:''
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
	category:'Kernel-Exceptions'
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
!
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
!VMInternalError class methodsFor:'documentation'!
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    23
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    24
copyright
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    25
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    26
 COPYRIGHT (c) 2001 by eXept Software AG
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    27
              All Rights Reserved
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    28
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    29
 This software is furnished under a license and may be used
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    30
 only in accordance with the terms of that license and with the
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    31
 inclusion of the above copyright notice.   This software may not
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    32
 be provided or otherwise made available to, or used by, any
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    33
 other person.  No title to or ownership of the software is
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    34
 hereby transferred.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    35
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
!
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
documentation
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
    VMInternalError is raised, when VM hits some bad error,
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
    such as corrupted class, corrupted method/selector array, etc.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
    The message text gives some more information on what happened.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
    (for example, if you set an objects class to a non-behavior, nil etc.).
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
    It is not guaranteed, that the system is in a working condition once
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
    such an error occurred.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
    Instance Variables:
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
        parameter - the object that triggered the error.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
"
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
! !
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
!VMInternalError class methodsFor:'initialization'!
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
initialize
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
    NotifierString := 'VM internal error: '.
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
! !
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
!VMInternalError class methodsFor:'documentation'!
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
version
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
    ^ '$Header: /cvs/stx/stx/libbasic/VMInternalError.st,v 1.1 2004-04-23 11:41:30 stefan Exp $'
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
! !
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
1828c8969866 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
VMInternalError initialize!