Patch 1

for debugging and error reconization it is always better to throw the exception instead of catch it away