Exception compatible with Octave