WrongNumberOfArgumentsError.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:55:17 +0200
changeset 24417 03b083548da2
parent 7798 99e0e998a4e7
child 17711 39faaaf888b4
permissions -rw-r--r--
#REFACTORING by exept class: Smalltalk class changed: #recursiveInstallAutoloadedClassesFrom:rememberIn:maxLevels:noAutoload:packageTop:showSplashInLevels: Transcript showCR:(... bindWith:...) -> Transcript showCR:... with:...

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

ArgumentError subclass:#WrongNumberOfArgumentsError
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-ExecutionErrors'
!

!WrongNumberOfArgumentsError class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2003 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
"
    Triggered by the VM, if a method/block is called with a wrong number of arguments.

    For normal method invocations (using message sends), 
    the smalltalk compiler protects you from this error,
    as the number of arguments to a method is defined by the selector.
    However, using reflection or perform-like operations, it is possible to
    ask for a method to be called with the wrong number of arguments.
"
! !

!WrongNumberOfArgumentsError class methodsFor:'initialization'!

initialize
    NotifierString := 'wrong number of argument(s)'.
! !

!WrongNumberOfArgumentsError class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic/WrongNumberOfArgumentsError.st,v 1.5 2003-12-05 15:47:45 cg Exp $'
! !

WrongNumberOfArgumentsError initialize!