Added methods in MetadataManager to find out the correct error from the error code, for invalid column name/type errors only. refs #456