예제 #1
0
        public static DSPlugin GetPlugInInfo()
        {
            try
            {
                return(MemorySegment.GetPluginInfo(AssetManager.FileAdapter.DataSegmentDllPath));
            }
            catch (BaseException srvExp)
            {
                Services.ServiceException newSrvExp = new Services.ServiceException(ErrorCode.ipe_GetPluginInfoError);
                newSrvExp.Errors.Add(srvExp);

                throw newSrvExp;
            }
            catch (Exception ex)
            {
                Services.ServiceException srvExp = new Services.ServiceException(ErrorCode.ipe_GetPluginInfoError,
                                                                                 MessageUtils.Expand(Properties.Resources.ipe_GetPluginInfoError, ex.Message), ex.StackTrace);
                throw srvExp;
            }
        }