fixed exception parameters and error handling in DDL statements