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

"{ Encoding: utf8 }"

"
 COPYRIGHT (c) 2001 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 }"

ExecutionError subclass:#UnimplementedFunctionalityError
	instanceVariableNames:'lineNumber'
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Errors'
!

!UnimplementedFunctionalityError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2001 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
"
    Raised when some functionality is requested that has not been implemented
    (e.g. when a method is invoked that has been marked as #shouldImplement).
"
! !

!UnimplementedFunctionalityError class methodsFor:'initialization'!

initialize
   NotifierString := 'Functionality has to be implemented'

    "Modified: / 01-12-2017 / 12:49:22 / stefan"
! !

!UnimplementedFunctionalityError methodsFor:'accessing'!

lineNumber
    ^ lineNumber
!

lineNumber:something
    lineNumber := something.
! !

!UnimplementedFunctionalityError methodsFor:'printing'!

description
    |desc|

    desc := super description, ': ', originator printString.
    parameter notNil ifTrue:[
        desc := desc, '>>', parameter selector printString.
        lineNumber notNil ifTrue:[
            desc := desc,':', lineNumber printString.
        ].
    ].
    ^ desc
! !

!UnimplementedFunctionalityError class methodsFor:'documentation'!

version
    ^ '$Header$'
! !


UnimplementedFunctionalityError initialize!