Ejemplo n.º 1
0
 /// <summary>
 /// Traps the error messages from subsystems.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The args.</param>
 private void TrapSubsystemError(object sender, SPSErrorArgs args)
 {
     if (_actionEditorError != null)
     {
         _actionEditorError.AddError(args);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Traps the error messages from subsystems.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The args.</param>
 private void TrapSubsystemError(object sender, SPSErrorArgs args)
 {
     if (_actionEditorError != null)
     {
         _actionEditorError.AddError(args);
     }
     DumpException(args.InternalException.TargetSite.Name, args.InternalException);
 }
Ejemplo n.º 3
0
        protected override void CreateChildControls()
        {
            _errorBox = new SPSErrorBoxControl
            {
                ShowExtendedErrors = true
            };

            Controls.Add(_errorBox);

            try
            {
                CreateChildControlsInternal();
            }
            catch (Exception ex)
            {
                _errorBox.AddError(new SPSErrorArgs(ex));
            }
        }
 /// <summary>
 /// Traps the error messages from subsystems.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The args.</param>
 private void TrapSubsystemError(object sender, SPSErrorArgs args)
 {
     _actionGridError.AddError(args);
 }
 /// <summary>
 /// Traps the error messages from subsystems.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The args.</param>
 protected void TrapSubsystemError(object sender, SPSErrorArgs args)
 {
     _errorBox.AddError(args);
 }