using System.IO;
namespace SweetLib.IO.Classes.Streaming
{
///
/// Exception thrown by streaming related operations.
///
public class StreamException : IOException
{
///
/// Creates a new .
///
public StreamException() { }
///
/// Creates a new .
///
/// Exception message.
public StreamException(string message) : base(message) { }
}
///
/// Exception thrown by streaming related operations. May be thrown if the stream types do not match.
///
public class StreamTypeException : StreamException
{
///
/// Creates a new .
///
public StreamTypeException() { }
///
/// Creates a new .
///
/// Exception message.
public StreamTypeException(string message) : base(message) { }
}
}