Try ...
try :
junk = Display ( "XY Plot", [ energy, sigma, errors ],
[ "Energy", "Sigma" ] )
except RuntimeError, detail :
print detail
When run I get...
Display: Too few labels
where the C++ class under Display threw the C++ exception.