{ErrorMsg.reportError ("Error", "Unable to Save Library",e);return;}
{ PerformanceFrame perFrame; try { perFrame=(PerformanceFrame)desktop.getSelectedFrame (); if (perFrame.getTitle ().startsWith ("Unsaved ")) {saveFrameAs ();return;} perFrame.save (); } catch (Exception e2)               { ErrorMsg.reportError ("Error", "Unable to Save Library",e2);return;}
    protected void saveFrame ()    {        LibraryFrame libFrame;        try        {            libFrame=(LibraryFrame)desktop.getSelectedFrame ();            if (libFrame.getTitle ().startsWith ("Unsaved Library"))            {saveFrameAs ();return;}            libFrame.save ();        } catch (Exception e)        {ErrorMsg.reportError ("Error", "Unable to Save Library",e);return;}    }