'continue' only allowed in loop
The compiler detected attempted use of the keyword continue outside the scope of a loop. This error usually occurs when a loop is removed and continue statements are left in the code. Remove any continue statements that are outside of a loop and compile again.
The following error illustrates this error:
public class Simple{
public void method1(int arg1){
if (arg1 ==1)
continue;
//error: continue only allowed in loops. Remove 'continue;'.
}
}