Removed blank lines
Throw exception on submit server-generated job