diff --git a/src/pyclaw/solution.py b/src/pyclaw/solution.py index 96d7f3a2..0126720a 100755 --- a/src/pyclaw/solution.py +++ b/src/pyclaw/solution.py @@ -138,7 +138,10 @@ def get_clawpack_dot_xxx(modname): return modname.rpartition('.')[0] # Load frame frame = arg[0] if not isinstance(frame,numbers.Integral): - raise Exception('Invalid pyclaw.Solution object initialization') + raise Exception( + 'Invalid pyclaw.Solution object initialization: ' + + repr(frame) + ' is not an int.' + ) if ('count_from_zero' in kargs): if (kargs['count_from_zero'] == True): self._start_frame = 0