I have a code that calls a method, but after this call, any code after it is not executed....here is the method call skeleton
if(//some condition){
//some code
myMethod(//some variables);
//some code/*not executed*/
}
the calling is done well but the code stays in that method i.e code following the method call is not executed. I dont know if this maybe due to the method being called because there method does not return anything. below is a skeleton of the method
public void myMethod(//some variables)
{
//some code here, basically initializing buffer streams
try
{
//a new file output stream is created here
}
catch(IOException e ){
}
//some jpeg encoding code
try
{
// jpeg encoder and closing the file stream
}
catch (IOException e){
}
}
I hope this can put my point across. Any help is highly appreciated