Add Ruby exceptions.

I mean to "introduce" the way to throw an exception