Product Information > JADE Error Messages and System Messages > 1400 through 1499 - Miscellaneous Runtime Errors > 1407 - Invalid argument passed to method

1407   Invalid argument passed to method

Cause

This error occurs if the argument supplied to a primitive method is invalid. The following methods can return this error if they receive an invalid argument:

For example, as the negative argument in (-1.0).sqrt is invalid, this error is raised.

Action

You can find an explanation of the error in the errorItem property of the exception. This explanation identifies the method in error and the reason for the exception. The reason can be one of the following.