throws Exceprion refactored in merlin-core