//
-// System.AuthenticationException.cs
+// System.Security.Authentication.AuthenticationException
//
// Author:
// Joe Shaw (joe@ximian.com)
// Miguel de Icaza (miguel@novell.com)
+// Sebastien Pouliot <sebastien@ximian.com>
//
-// (C) 2006 Novell, Inc. http://www.novell.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System.Runtime.Serialization;
-namespace System.Security.Authentication
-{
+namespace System.Security.Authentication {
+
[Serializable]
- public sealed class AuthenticationException : SystemException
- {
- // Constructors
+ public class AuthenticationException : SystemException {
+
public AuthenticationException ()
: base (Locale.GetText ("Authentication exception."))
{
{
}
- internal AuthenticationException (SerializationInfo serializationInfo, StreamingContext streamingContext)
- : base(serializationInfo, streamingContext)
+ protected AuthenticationException (SerializationInfo serializationInfo, StreamingContext streamingContext)
+ : base (serializationInfo, streamingContext)
{
}
}
}
-#endif
+