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.Manager/Executor.cs

    r1802 r1829  
    177177        /// tasks instead of overwriting it.</remarks> 
    178178        /// <param name="stream">The stream to save to.</param> 
     179        /// <exception cref="InvalidDataException">Thrown when the data in the stream is 
     180        /// invalid or unrecognised.</exception> 
    179181        public abstract void LoadFromStream(Stream stream); 
    180182 
Note: See TracChangeset for help on using the changeset viewer.