try {
VirtualFile vf = Play.getVirtualFile(file);
if (vf == null || !vf.exists()) {
throw new NoRouteFoundException(file);
}
throw new RedirectToStatic(Router.reverse(Play.getVirtualFile(file)));
} catch (NoRouteFoundException e) {
StackTraceElement element = PlayException.getInterestingStrackTraceElement(e);
if (element != null) {
throw new NoRouteFoundException(file, Play.classes.getApplicationClass(element.getClassName()), element.getLineNumber());
} else {