Thrown every time for instances of PathText class.
Remarks
After calling this method the current Text object becomes invalid (i.e. deleted) This method should not be called on an object that already is a PathText instance, otherwise an ObjectCreationException is thrown.