Avoid empty exception.