This method is automatically called in case of a fatal error; it simply throws an exception
with the provided message.
An inherited class may override it to customize the error handling but the method should
never return, otherwise the resulting document would probably be invalid.
The error message.