2 using System
.Runtime
.Serialization
;
4 namespace AopAlliance
.Aop
7 /// Superclass for all AOP infrastructure exceptions.
9 /// <author>Aleksandar Seovic</author>
10 /// <version>$Id: AspectException.cs,v 1.1 2004/11/20 21:13:04 markpollack Exp $</version>
12 public class AspectException
: Exception
15 /// Default constructor for AspectException.
17 public AspectException() : base()
22 /// Constructor for AspectException.
24 /// <param name="message">Error message</param>
25 public AspectException(string message
) : base(message
)
30 /// Constructor for AspectException.
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
)
39 /// Creates a new instance of the AspectException class.
41 /// <param name="info">
42 /// The <see cref="System.Runtime.Serialization.SerializationInfo"/>
43 /// that holds the serialized object data about the exception being thrown.
45 /// <param name="context">
46 /// The <see cref="System.Runtime.Serialization.StreamingContext"/>
47 /// that contains contextual information about the source or destination.
49 protected AspectException(SerializationInfo info
, StreamingContext context
) : base(info
, context
)