exception handler for ContentTooShortError