Fixed exceptions to proper syntax.