Error.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 01 Jul 2010 19:21:34 +0100
branchjv
changeset 17772 6e0b3c06c364
parent 17767 a4a32df3aa5e
child 17780 b6e42c92eba0
permissions -rw-r--r--
Method reverted to r10532

"
 COPYRIGHT (c) 1999 by eXept Software AG
              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.
"
"{ Package: 'stx:libbasic' }"

Exception subclass:#Error
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!Error class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1999 by eXept Software AG
              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.
"

!

documentation
"
    Error is the superclass and parent of all error exceptions in the system

    [author:]
        Stefan Vogel

    [see also:]
        Signal
"
! !

!Error class methodsFor:'initialization'!

initialize

    NotifierString := 'error encountered'.

    "Created: / 4.8.1999 / 08:48:18 / stefan"
! !

!Error class methodsFor:'misc ui support'!

iconInBrowserSymbol
    <resource: #programImage>

    ^ #errorClassBrowserIcon
! !

!Error class methodsFor:'queries'!

mayProceed
    "By default, errors do not allow to proceed.
     Subclasses may change this"

    ^ false

    "Created: / 23.7.1999 / 14:52:26 / stefan"
    "Modified: / 23.7.1999 / 14:52:39 / stefan"
! !

!Error methodsFor:'testing'!

isError
    ^ true
! !

!Error class methodsFor:'documentation'!

version
    ^ '$Id: Error.st 10534 2010-07-01 18:21:34Z vranyj1 $'
!

version_CVS
    ^ 'Header: /cvs/stx/stx/libbasic/Error.st,v 1.10 2009/10/01 13:44:07 cg Exp ยง'
!

version_SVN
    ^ '$Id: Error.st 10534 2010-07-01 18:21:34Z vranyj1 $'
! !

Error initialize!