paradigmatic/Configrity — pull request #8 by mkonicek (2012-02-29 18:09:08+00:00)
Title: Fix issue in Configuration.loadResource

Configuration.loadResource("nonExistingFileName") throws NullPointerException from java.io.Reader.

This fixes it to throw FileNotFoundException, which is the same as when using Configuration.load().

See [getResourceAsStream].

[getResourceAsStream]: http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html#getResourceAsStream(java.lang.String)