[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityExce
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.2,1.3 VerificationException.cs,1.1,1.2 XmlSyntaxException.cs,1.1,1.2 |
Date: |
Fri, 04 Apr 2003 19:35:19 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security
In directory subversions:/tmp/cvs-serv20048/runtime/System/Security
Modified Files:
SecurityException.cs VerificationException.cs
XmlSyntaxException.cs
Log Message:
Add the appropriate HResult values to all exception classes.
Index: SecurityException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/SecurityException.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** SecurityException.cs 28 Nov 2001 04:22:39 -0000 1.2
--- SecurityException.cs 5 Apr 2003 00:35:17 -0000 1.3
***************
*** 44,47 ****
--- 44,56 ----
}
+ // Get the default HResult value for this type of exception.
+ protected internal override uint HResultDefault
+ {
+ get
+ {
+ return 0x8013150a;
+ }
+ }
+
}; // class SecurityException
Index: VerificationException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/VerificationException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** VerificationException.cs 18 Dec 2001 10:27:04 -0000 1.1
--- VerificationException.cs 5 Apr 2003 00:35:17 -0000 1.2
***************
*** 44,47 ****
--- 44,56 ----
}
+ // Get the default HResult value for this type of exception.
+ protected internal override uint HResultDefault
+ {
+ get
+ {
+ return 0x8013150d;
+ }
+ }
+
}; // class VerificationException
Index: XmlSyntaxException.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/XmlSyntaxException.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlSyntaxException.cs 30 Mar 2003 11:58:44 -0000 1.1
--- XmlSyntaxException.cs 5 Apr 2003 00:35:17 -0000 1.2
***************
*** 42,45 ****
--- 42,54 ----
lineNumber,
message)) {}
+ // Get the default HResult value for this type of exception.
+ protected internal override uint HResultDefault
+ {
+ get
+ {
+ return 0x80131418;
+ }
+ }
+
}; // class XmlSyntaxException
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security SecurityException.cs,1.2,1.3 VerificationException.cs,1.1,1.2 XmlSyntaxException.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Schema XmlSchemaException.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryNotFoundException.cs,1.2,1.3 EndOfStreamException.cs,1.2,1.3 FileLoadException.cs,1.4,1.5 FileNotFoundException.cs,1.5,1.6 IOException.cs,1.4,1.5 PathTooLongException.cs,1.2,1.3
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Schema XmlSchemaException.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO DirectoryNotFoundException.cs,1.2,1.3 EndOfStreamException.cs,1.2,1.3 FileLoadException.cs,1.4,1.5 FileNotFoundException.cs,1.5,1.6 IOException.cs,1.4,1.5 PathTooLongException.cs,1.2,1.3
- Index(es):