AssertionFailedError.st
changeset 20445 2f93befb3416
parent 11184 53d91f16f7ae
child 20578 39641ba8d6e0
child 22686 977432cc6ce8
equal deleted inserted replaced
20444:1a943ef58dd5 20445:2f93befb3416
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2007 by eXept Software AG
     4  COPYRIGHT (c) 2007 by eXept Software AG
     3               All Rights Reserved
     5               All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
     9  other person.  No title to or ownership of the software is
    11  other person.  No title to or ownership of the software is
    10  hereby transferred.
    12  hereby transferred.
    11 "
    13 "
    12 "{ Package: 'stx:libbasic' }"
    14 "{ Package: 'stx:libbasic' }"
    13 
    15 
    14 ProceedableError subclass:#AssertionFailedError
    16 "{ NameSpace: Smalltalk }"
       
    17 
       
    18 ExecutionError subclass:#AssertionFailedError
    15 	instanceVariableNames:''
    19 	instanceVariableNames:''
    16 	classVariableNames:''
    20 	classVariableNames:''
    17 	poolDictionaries:''
    21 	poolDictionaries:''
    18 	category:'Kernel-Exceptions-Errors'
    22 	category:'Kernel-Exceptions-Errors'
    19 !
    23 !
    38 "
    42 "
    39     Raised by failing assertions.
    43     Raised by failing assertions.
    40 "
    44 "
    41 ! !
    45 ! !
    42 
    46 
       
    47 !AssertionFailedError class methodsFor:'testing'!
       
    48 
       
    49 isProgramError
       
    50     "redefined in all exceptions which are programmer's errors,
       
    51      and which should probably not be ignored.
       
    52      I.e. a global error handler should reject and let a debugger get control."
       
    53 
       
    54     ^ true
       
    55 ! !
       
    56 
    43 !AssertionFailedError class methodsFor:'documentation'!
    57 !AssertionFailedError class methodsFor:'documentation'!
    44 
    58 
    45 version
    59 version
    46     ^ '$Header: /cvs/stx/stx/libbasic/AssertionFailedError.st,v 1.3 2008-09-30 18:09:46 cg Exp $'
    60     ^ '$Header$'
    47 ! !
    61 ! !
       
    62