use try and catch Exception instead of the throwing one. I tried your code with try and catch and it worked. So use
try
{
}catch(Exception e)
{
return this;
}
this should work
Type: Posts; User: myjava
use try and catch Exception instead of the throwing one. I tried your code with try and catch and it worked. So use
try
{
}catch(Exception e)
{
return this;
}
this should work