Ignore:
Timestamp:
2/12/2010 6:24:18 AM (2 years ago)
Author:
lowjoel
Message:

When we load a task list from the stream the stream may not be valid. If so, throw an InvalidDataException? instead. This prevents exceptions which are specific to the implementation of the Executor class from letting its exceptions bubble up the stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser/SchedulerPanel.cs

    r1802 r1829  
    436436                                Program.eraserClient.Tasks.LoadFromStream(stream); 
    437437                            } 
    438                             catch (SerializationException ex) 
     438                            catch (InvalidDataException ex) 
    439439                            { 
    440440                                MessageBox.Show(S._("Could not import task list from {0}. The " + 
Note: See TracChangeset for help on using the changeset viewer.