src/Palete/Palete.vala
[app.Builder.js] / src / vapi / libgda-5.0.vapi
index 4236870..1f5aa0d 100644 (file)
@@ -153,7 +153,7 @@ namespace Gda {
                public bool is_opened ();
                public bool open () throws GLib.Error;
                public static Gda.Connection open_from_dsn (string dsn, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
-               public static Gda.Connection open_from_string (string? provider_name, string cnc_string, string? auth_string, Gda.ConnectionOptions options) throws GLib.Error;
+               public static Gda.Connection open_from_string (string? provider_name, string cnc_string, string? auth_string, Gda.ConnectionOptions options) throws ConnectionError, ConfigError;
                public static Gda.Connection open_sqlite (string? directory, string filename, bool auto_unlink);
                public Gda.Statement parse_sql_string (string sql, out Gda.Set @params) throws GLib.Error;
                public bool perform_operation (Gda.ServerOperation op) throws GLib.Error;
@@ -1472,19 +1472,19 @@ namespace Gda {
                public weak Gda.SqlStatement parsed_statement;
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_BATCH_CONFLICTING_PARAMETER_")]
-       public enum BatchError {
+       public errordomain BatchError {
                [CCode (cname = "GDA_BATCH_CONFLICTING_PARAMETER_ERROR")]
                BATCH_CONFLICTING_PARAMETER_ERROR
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONFIG_")]
-       public enum ConfigError {
+       public errordomain ConfigError {
                DSN_NOT_FOUND_ERROR,
                PERMISSION_ERROR,
                PROVIDER_NOT_FOUND_ERROR,
                PROVIDER_CREATION_ERROR
        }
        [CCode (cheader_filename = "libgda/libgda.h", cprefix = "GDA_CONNECTION_")]
-       public enum ConnectionError {
+       public errordomain ConnectionError {
                DSN_NOT_FOUND_ERROR,
                PROVIDER_NOT_FOUND_ERROR,
                PROVIDER_ERROR,
@@ -2131,4 +2131,4 @@ namespace Gda {
        public static int value_differ (GLib.Value value1, GLib.Value value2);
        [CCode (cheader_filename = "libgda/libgda.h")]
        public static string value_stringify (GLib.Value value);
-}
\ No newline at end of file
+}