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
public ParameterCountMismatchError();
Constructs a ParameterCountMismatchError object.
public ParameterCountMismatchError(int expected, int passed);
Constructs a ParameterCountMismatchError object from the number of parameters passed and the number of parameters expected.
Parameter | Description |
expected
| The number of parameters expected.
|
passed
| The number of parameters actually passed.
|