Packages
 In this topic

*Constructors

 

Packages   PreviousThis PackageNext
Package com.ms.dll   Previous This
Package
Next

 


Class ParameterCountMismatchError

public class ParameterCountMismatchError extends RuntimeException
{
  // Constructors
  public ParameterCountMismatchError();
  public ParameterCountMismatchError(int expected, int passed);
}

This class represents objects that contain the number of parameters expected and the number of objects actually passed to a method. ParameterCountMismatchError objects are thrown by the Microsoft VM under debugging mode if a function called with Microsoft® J/Direct™ accepts fewer or more parameters than was passed in. For more information on using J/Direct, see the About J/Direct article.

RuntimeException
  |
  +--ParameterCountMismatchError

Constructors

ParameterCountMismatchError

public ParameterCountMismatchError();

Constructs a ParameterCountMismatchError object.

ParameterCountMismatchError

public ParameterCountMismatchError(int expected, int passed);

Constructs a ParameterCountMismatchError object from the number of parameters passed and the number of parameters expected.

ParameterDescription
expected The number of parameters expected.
passed The number of parameters actually passed.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.