Exception Handling and Current Magnitude resource

I don't want a superclass for resources, but i'll extract this to an util.