Minor fixes to the attempts at robust handling of invalid input arguments.
Minor fixes to the attempts at robust handling of invalid input arguments.

Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D,Alexpux/Coin3D