a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
421 B

  1. using System;
  2. using System.IO;
  3. namespace NPOI
  4. {
  5. public class EmptyFileException : IOException
  6. {
  7. const long serialVersionUID = 1536449292174360166L;
  8. public EmptyFileException() : base("The supplied file was empty (zero bytes long)")
  9. {
  10. }
  11. public EmptyFileException(string message, Exception innerException) : base(message, innerException)
  12. {
  13. }
  14. }
  15. }