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";
|
String errorMessage = "source not defined";
|
||||||
logger.error(errorMessage);
|
logger.error(errorMessage);
|
||||||
result = null;
|
throw new NullPointerException(errorMessage);
|
||||||
throw new Exception(errorMessage);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue