In my generation process I check different things, which can't be constrained before. In the error case I throw an exception. Is there any way to build wrong models in a sandbox, which expect an exception? Only if no exception is thrown an error should be reported.
Of course I know how to do things like this in Java, but I don't know how to catch an exception from the generation process.