Changeset 6576


Ignore:
Timestamp:
Oct 19, 2015, 2:13:10 PM (6 years ago)
Author:
kopal
Message:

fixes #876
catch clipboard error in exception handler of AssignmentPresentation of AnalysisMonoalphabeticSubstitution component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/AnalysisMonoalphabeticSubstitution/AssignmentPresentation.xaml.cs

    r5992 r6576  
    143143            catch (Exception ex)
    144144            {
    145                 Clipboard.SetText("");
     145                try
     146                {
     147                    Clipboard.SetText("");
     148                }
     149                catch (Exception ex)
     150                {
     151                    //wtf?
     152                    //we saw a problem, that CLIPBRD_E_CANT_OPEN was thrown
     153                    //we can not do anything then. so, at this point we do nothing....
     154                    //see correpsonding ticket: https://www.cryptool.org/trac/CrypTool2/ticket/876
     155                }
    146156            }
    147157        }
Note: See TracChangeset for help on using the changeset viewer.