Changed to use Authenticate asp.net event instead of Authorize
[castle.git] / AspectSharp / AopAlliance / Aop / AspectException.cs
blob645f103b282f6860ae23a5c33359272aed2efcfe
1 using System;
2 using System.Runtime.Serialization;
4 namespace AopAlliance.Aop
6 /// <summary>
7 /// Superclass for all AOP infrastructure exceptions.
8 /// </summary>
9 /// <author>Aleksandar Seovic</author>
10 /// <version>$Id: AspectException.cs,v 1.1 2004/11/20 21:13:04 markpollack Exp $</version>
11 [Serializable]
12 public class AspectException : Exception
14 /// <summary>
15 /// Default constructor for AspectException.
16 /// </summary>
17 public AspectException() : base()
21 /// <summary>
22 /// Constructor for AspectException.
23 /// </summary>
24 /// <param name="message">Error message</param>
25 public AspectException(string message) : base(message)
29 /// <summary>
30 /// Constructor for AspectException.
31 /// </summary>
32 /// <param name="message">Error message</param>
33 /// <param name="innerException">Root exception cause</param>
34 public AspectException(string message, Exception innerException) : base(message, innerException)
38 /// <summary>
39 /// Creates a new instance of the AspectException class.
40 /// </summary>
41 /// <param name="info">
42 /// The <see cref="System.Runtime.Serialization.SerializationInfo"/>
43 /// that holds the serialized object data about the exception being thrown.
44 /// </param>
45 /// <param name="context">
46 /// The <see cref="System.Runtime.Serialization.StreamingContext"/>
47 /// that contains contextual information about the source or destination.
48 /// </param>
49 protected AspectException(SerializationInfo info, StreamingContext context) : base(info, context)