Fix exception.

This commit is contained in:
Christian P. MOMON 2013-08-22 16:11:10 +02:00
parent 8ecec43df2
commit 1562ef91a0

View file

@ -74,8 +74,7 @@ public class URLPresenter extends StringPresenter
{
String errorMessage = "source not defined";
logger.error(errorMessage);
result = null;
throw new Exception(errorMessage);
throw new NullPointerException(errorMessage);
}
else
{