code: def test_exception(self, device, dtype):
      # test for invalid params for different camera models
      params = torch.tensor([1.0, 1.0, 1.0, 1.0, 1.0])
      image_size = ImageSize(100, 100)
      with pytest.raises(ValueError):
          CameraModel(image_size, CameraModelType.PINHOLE, params)
      with pytest.raises(ValueError):
          CameraModel(image_size, CameraModelType.BROWN_CONRADY, params)
      with pytest.raises(ValueError):
          CameraModel(
              image_size, CameraModelType.KANNALA_BRANDT_K3, params
          )
      with pytest.raises(ValueError):
          CameraModel(image_size, CameraModelType.ORTHOGRAPHIC, params)
  
file_path: kornia/test/sensors/camera/test_camera_model.py
imports: import pytest
  import torch
  from kornia.geometry.vector import Vector3
  from kornia.image import ImageSize
  from kornia.sensors.camera import CameraModel, CameraModelType
  from kornia.testing import BaseTester
label_desc: Use image node_id 4 for calling the TestPinholeCamera obj's underlying member method code with example usage: obj.test_exception(device, dtype) without return types