Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ThrowsAdviceInterceptor Constructor

Creates a new instance of the ThrowsAdviceInterceptor class.

[Visual Basic]
Public Sub New( _
   ByVal advice As Object _
)
[C#]
ThrowsAdviceInterceptor(
   object advice
);

Parameters

advice
The throws advice to check for exception handler methods.

Remarks

Exceptions

Exception Type Condition
ArgumentNullException If the supplied advice is a null reference (Nothing in Visual Basic).
ArgumentException If no (0) handler methods were discovered on the supplied advice; or if more than one handler method suitable for a particular Exception type was discovered on the supplied advice.

See Also

ThrowsAdviceInterceptor Class | Spring.Aop.Framework.Adapter Namespace