Provide exception handling