make ClassNotFoundException a subclass of Error

This way Classes.prototype.loadClassFile will throw something like "Uncaught ClassNotFoundException: com/nokia/mid/ui/frameanimator/FrameAnimator.class" instead of the vague "Uncaught [object Object]".