Introducing new exception as per issue #1
Changing the behaviour of exit=true to fix #1