Better Error handling for parameter editor and parameter object in
WaveGenerator.