// =============================================================================== // AyA Corp. - 2006 EM // // AyAException.cs // // This file contains the implementations of the AyAException Class. // =============================================================================== // History // Date Description // April Defines a AyAException class // // =============================================================================== // Copyright (C) 2005-2006 AyA Corp. // All rights reserved. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR // FITNESS FOR A PARTICULAR PURPOSE. // ============================================================================== using System; using System.Runtime.Serialization; namespace AyAEM.ExceptionManagement.Exceptions { [Serializable] public class AyAException : BaseApplicationException { #region Attributes /// /// Especifies each atribute to the User Class /// /// /// /// /// #endregion #region Objects /// /// Especifies the Objects to use in the page (Miscellaneous) /// /// /// /// /// #endregion #region Instance Objects ///// ///// Instance the business objects declared in Biz Objects Region ///// ///// ///// ///// ///// //private void InstanceObjects() //{ // try // { // } // catch (Exception ex) // { // throw ex; // } //} #endregion #region Constructors /// /// Especifies the constructors for User Class /// /// /// /// /// // Default constructor public AyAException() : base() { } // Constructor with exception message public AyAException(string message) : base(message) { } // Constructor with message and inner exception public AyAException(string message, Exception inner) : base(message,inner) { } // Protected constructor to de-serialize data protected AyAException(SerializationInfo info, StreamingContext context) : base(info, context) { } #endregion #region Properties /// /// Especifies the properties for each atribute in the User Class /// /// /// /// /// #endregion #region Custom Methods /// /// /// /// /// /// /// public static void Publish(Exception pExcException, string pStrExceptionCodes) { ExceptionManager.Publish(pExcException, null); } #endregion } }