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

using dk.gov.oiosi.uddi.category;
using dk.gov.oiosi.exception.Keyword;

namespace dk.gov.oiosi.oioublProfileLibrary.Exceptions {
    /// <summary>
    /// Exception thrown if an unhandled ars endpoint address type is found.
    /// </summary>
    public class UnhandledArsEndpointAddressTypeException : OioublProfileLibraryException {
        /// <summary>
        /// Constructor that takes the unhandled endpoint address type as parameter.
        /// </summary>
        /// <param name="endpointAddressType"></param>
        public UnhandledArsEndpointAddressTypeException(EndpointAddressTypeCode endpointAddressType) : base(KeywordFromString.GetKeyword("endpointaddresstypecode", endpointAddressType.ToString())) { }
    }
}
