@marcphilipp 
Sure it's much better that throwing an exception and breaking user's app.
Definitely, I will fix this part of the code.
Thx.