resourceloader: Throw InvalidArgumentException for invalid constructor arguments
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 30 Mar 2015 16:51:10 +0000 (18:51 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 30 Mar 2015 17:15:36 +0000 (19:15 +0200)
commit7aeadb7f680aedaca143665fb31099f047464745
tree1ea03f6c24d67ea3fd29dfbd320198182133eeb2
parentd469b379554f0961b0053651a88501b2e3bf8f92
resourceloader: Throw InvalidArgumentException for invalid constructor arguments

(But not for exceptions about missing files.)

Per Legoktm's comments on 8edbfb5feb708f80d63f118f9b00eb341278f68a.

Change-Id: I725f846476d2d97d3d820bc22674f7b5aab812bb
includes/resourceloader/ResourceLoaderFileModule.php
includes/resourceloader/ResourceLoaderImage.php
includes/resourceloader/ResourceLoaderImageModule.php