Castle.MonoRail.Framework.Extensions.ExceptionChaining.FilteredExceptionHandler.Configure C# (CSharp) Method

Configure() public method

Implementors should check for known attributes and child nodes within the exceptionHandlerNode
public Configure ( XmlNode exceptionHandlerNode ) : void
exceptionHandlerNode XmlNode The Xml node /// that represents this handler on the configuration file
return void
        public void Configure(XmlNode exceptionHandlerNode)
        {
            XmlNodeList excludeNodes = exceptionHandlerNode.SelectNodes("exclude");
            foreach (XmlNode excludeNode in excludeNodes)
            {
                string excludedType = excludeNode.Attributes["type"].Value;
                excludedTypes.Add(Type.GetType(excludedType, true));
            }
        }
FilteredExceptionHandler