[ComVisible (true)]
public class CryptographicException : SystemException, _Exception {
public CryptographicException ()
- : base (Locale.GetText ("Error occured during a cryptographic operation."))
+ : base (Locale.GetText ("Error occurred during a cryptographic operation."))
{
// default to CORSEC_E_CRYPTO
// defined as EMAKEHR(0x1430) in CorError.h
public class CryptographicUnexpectedOperationException : CryptographicException {
public CryptographicUnexpectedOperationException ()
- : base (Locale.GetText ("Unexpected error occured during a cryptographic operation."))
+ : base (Locale.GetText ("Unexpected error occurred during a cryptographic operation."))
{
// Default to CORSEC_E_CRYPTO_UNEX_OPER (CorError.h)
HResult = unchecked ((int)0x80131431);
if (bytesUnknown == null)
throw new ArgumentNullException ("bytesUnknown");
if (fallback_assigned && Remaining != 0)
- throw new ArgumentException ("Reentrant Fallback method invocation occured. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
+ throw new ArgumentException ("Reentrant Fallback method invocation occurred. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
if (index < 0 || bytesUnknown.Length < index)
throw new ArgumentOutOfRangeException ("index");
fallback_assigned = true;
private bool Fallback (int index)
{
if (fallback_assigned && Remaining != 0)
- throw new ArgumentException ("Reentrant Fallback method invocation occured. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
+ throw new ArgumentException ("Reentrant Fallback method invocation occurred. It might be because either this FallbackBuffer is incorrectly shared by multiple threads, invoked inside Encoding recursively, or Reset invocation is forgotten.");
if (index < 0)
throw new ArgumentOutOfRangeException ("index");
fallback_assigned = true;
public class AggregateException : Exception
{
List<Exception> innerExceptions = new List<Exception> ();
- const string defaultMessage = "One or more errors occured";
+ const string defaultMessage = "One or more errors occurred";
public AggregateException () : base (defaultMessage)
{