Warning.st
author Claus Gittinger <cg@exept.de>
Wed, 28 Jul 1999 23:00:25 +0200
changeset 4466 9cba6f4ecec4
parent 4446 4da4e51fc1ab
child 4500 be0fe7e7e21b
permissions -rw-r--r--
copyrights added; typo in docu

"
 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.
"


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

!Warning 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
"
    Warning is an abstract superclass of all warning exceptions in the system

    [author:]
        Stefan Vogel

    [see also:]
        Signal
"

!

examples
"
                                                            [exBegin]
    Warning raiseRequest
                                                            [exEnd]
"

! !

!Warning class methodsFor:'initialization'!

initialize

    NotifierString := 'Warning'.

    "
     self initialize
    "

    "Created: / 23.7.1999 / 15:34:27 / stefan"
! !

!Warning methodsFor:'default actions'!

action
    "Default action for warnings: open a warn box with errorString"

    self proceedWith:(Dialog warn:self errorString)


    "
      Warning raiseRequest
    "

    "Modified: / 23.7.1999 / 15:35:27 / stefan"
! !

!Warning class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic/Warning.st,v 1.2 1999-07-28 21:00:25 cg Exp $'
! !
Warning initialize!