try catch compile