Use try-else for filed C compile.