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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 16:56:51 GMT