using System;
using System.Collections.Generic;
using System.Text;
using System.Resources;

using dk.gov.oiosi.exception;

namespace dk.gov.oiosi.oioublProfileLibrary.Exceptions {
    /// <summary>
    /// Base exception for OioublProfileLibrary
    /// </summary>
    public class OioublProfileLibraryException : MainException {
        private static ResourceManager resourceManager = new ResourceManager(typeof(ErrorMessages));
        /// <summary>
        /// Default constructor
        /// </summary>
        public OioublProfileLibraryException() : base(resourceManager) { }
        /// <summary>
        /// Constructor that takes a dictionary with keywords as parameter.
        /// </summary>
        /// <param name="keywords">Dictionay of keywords</param>
        public OioublProfileLibraryException(Dictionary<string, string> keywords) : base(resourceManager, keywords) { }
        /// <summary>
        /// Constructor that takes an inner exception as parameter.
        /// </summary>
        /// <param name="innerException">The inner exception</param>
        public OioublProfileLibraryException(Exception innerException) : base(resourceManager, innerException) { }
        /// <summary>
        /// Constructor that takes a dictionary of keywords and an inner exception as parameter.
        /// </summary>
        /// <param name="keywords">Dictionary of keywords</param>
        /// <param name="innerException">The inner exception</param>
        public OioublProfileLibraryException(Dictionary<string, string> keywords, Exception innerException) : base(resourceManager, keywords, innerException) { }
    }
}
