Fix exception.
This commit is contained in:
parent
8ecec43df2
commit
1562ef91a0
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue