WrongProceedabilityError.st
author Stefan Vogel <sv@exept.de>
Tue, 28 Apr 2020 16:22:44 +0200
changeset 25376 88a3329875ba
parent 25097 e9734960752c
permissions -rw-r--r--
#REFACTORING by stefan class: MethodDictionary class removed: #newWithCapacity: moved to superclass

"
 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' }"

"{ NameSpace: Smalltalk }"

SignalError subclass:#WrongProceedabilityError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!WrongProceedabilityError 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
"    
    WrongProceedabilityError is raised to indicate that someone tries
    to raise a nonproceedable exception proceedable.

    The parameter is the unproceedable signal.
"



! !

!WrongProceedabilityError class methodsFor:'initialization'!

initialize

    NotifierString := 'attempt to raise a nonproceedable signal proceedable'.

    "
     self initialize
    "
! !

!WrongProceedabilityError methodsFor:'accessing'!

description
    |whereRaised|

    originator notNil ifTrue:[
        whereRaised := ' (raised in ',originator suspendedContext printString,')'
    ].
    ^ super description , ': ', self parameter printString,(whereRaised ? '')
! !

!WrongProceedabilityError class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
! !


WrongProceedabilityError initialize!