eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WrongNumberOfArgumentsError':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: WrongNumberOfArgumentsError


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--Error
            |
            +--ProceedableError
               |
               +--ExecutionError
                  |
                  +--ArgumentError
                     |
                     +--WrongNumberOfArgumentsError

Package:
stx:libbasic
Category:
Kernel-Exceptions-ExecutionErrors
Version:
rev: 1.5 date: 2003/12/05 15:47:45
user: cg
file: WrongNumberOfArgumentsError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


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.


Class protocol:

initialization
o  initialize



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 18 Nov 2018 08:44:35 GMT