19 de maio de 2012

java - finally block does not complete normally

Error:
finally block does not complete normally

try  {
...
return false;
} catch (Exception e) {
...
return false;
}
finally {
...
return false;
}


Solution:
Remove " return false" from finally.


try  {
...
return false;
} catch (Exception e) {
...
return false;
}
finally {
...
}


Sem comentários:

LinkWithin

Related Posts with Thumbnails