[Bundle] Separate exceptions for invalid handle (#1412)