Exception raising on prevented execution