TARGET_JVM: remove unsupported OracleTypes from build to generate correct documentation
[mono.git] / mcs / class / System.Data.OracleClient / System.Data.OracleClient.jvm / OracleException.cs
old mode 100755 (executable)
new mode 100644 (file)
index 7d56bd7..e538b0c
@@ -80,12 +80,16 @@ namespace System.Data.OracleClient {
                 * information about exceptions generated by the SQL Server .NET Data Provider.\r
                 * @return collection of SqlError objects\r
                 */\r
-               public OracleErrorCollection Errors {\r
+               internal OracleErrorCollection Errors {\r
                        get {\r
                                return new OracleErrorCollection(_cause, _connection);\r
                        }\r
                }\r
 \r
+               public int Code {\r
+                       get { return DbErrorCode; }\r
+               }\r
+\r
                /**\r
                 * Gets the line number within the Transact-SQL command batch or stored \r
                 * procedure that generated the error.\r