Castle.MonoRail.Framework.ControllerLifecycleExecutor.RunBeforeActionFilters C# (CSharp) Method

RunBeforeActionFilters() private method

Runs the after view rendering filters.
private RunBeforeActionFilters ( ) : bool
return bool
		private bool RunBeforeActionFilters()
		{
			try
			{
				// If we are supposed to run the filters...
				if (!skipFilters)
				{
					// ...run them. If they fail...
					if (!ProcessFilters(ExecuteEnum.BeforeAction))
					{
						return false;
					}
				}
			}
			catch(ThreadAbortException)
			{
				if (logger.IsErrorEnabled)
				{
					logger.Error("ThreadAbortException, process aborted");
				}

				hasError = true;
			}
			catch(Exception ex)
			{
				hasError = true;

				if (logger.IsErrorEnabled)
				{
					logger.Error("Exception during filter process", ex);
				}

				exceptionToThrow = ex;
			}

			return ! hasError;
		}