Native exceptions handling