Better exception message for invalid source.