Sort includes.
Throw a much more appropriate exception.
Add license to file headers.