EXCEPTION_INVALID_ARGUMENT

Code Value: 10

This exception is thrown when an input PBDOM_OBJECT parameter to a method is invalid. This can happen if it has not been initialized properly, or if it is a null object reference.

This exception might also be thrown when an input string parameter to a method is invalid. This can happen if the string has been set to null using the PowerScript SetNull function.