How to handle order exceptions