mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-09 22:44:52 +00:00
42 lines
468 B
ActionScript
42 lines
468 B
ActionScript
package tests
|
|
{
|
|
import flash.errors.EOFError;
|
|
|
|
/**
|
|
* ...
|
|
* @author JPEXS
|
|
*/
|
|
public class TestTryCatchLoop
|
|
{
|
|
|
|
public function run() : void
|
|
{
|
|
var i:int = 0;
|
|
while (i < 100)
|
|
{
|
|
try
|
|
{
|
|
var j:int = 0;
|
|
while (j < 20)
|
|
{
|
|
trace("a");
|
|
j++;
|
|
}
|
|
}
|
|
catch (e:EOFError)
|
|
{
|
|
continue;
|
|
}
|
|
catch (e:Error)
|
|
{
|
|
continue;
|
|
}
|
|
trace("after_try");
|
|
i++;
|
|
}
|
|
trace("end");
|
|
}
|
|
|
|
}
|
|
|
|
} |