dotless/dotless — pull request #111 by cjberg (2012-01-17 11:24:06+00:00)
Title: Improved two exceptions types

I ran into an exception when I had misspelled a .less import, and the exception message wasn't helpful as it didn't tell which file was missing. This pull request changes the exception type from Exception to FileNotFoundException, and its FileName property is set to the missing file (works for URLs as well, and a test was added to verify it).

I also changed another "throw new Exception" to InvalidOperationException, as the base type shouldn't be thrown from application code.