Microsoft SDK for Java

ParameterCountMismatchError Class

The ParameterCountMismatchError class of the com.ms.dll package represents objects that contain the number of parameters expected and the number of objects actually passed to a method.

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

ParameterCountMismatchError objects are thrown by the Microsoft VM under debugging mode if a function called with J/Direct accepts fewer or more parameters than was passed in. For more information on using J/Direct, see Java/Win32 Integration with J/Direct.

Hierarchy

RuntimeException
  |
  +--ParameterCountMismatchError

© 1999 Microsoft Corporation. All rights reserved. Terms of use.