From 305d80dc6a4f4e595e4d570461d8200fe28a3387 Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Thu, 4 Jul 2019 13:05:22 +0200 Subject: [PATCH] Fix Python exception type. --- modules/geom/doc/composite.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/geom/doc/composite.rst b/modules/geom/doc/composite.rst index 863763ccb..c8e9701b9 100644 --- a/modules/geom/doc/composite.rst +++ b/modules/geom/doc/composite.rst @@ -449,7 +449,7 @@ Operations on Geometrical Objects :param rhs: Second object :type rhs: :class:`Line2`, :class:`Line3`, :class:`Plane` - :raises: :exc:`GeomException` when the two objects do not intersect + :raises: :exc:`~exceptions.RuntimeError` when the two objects do not intersect :rtype: :class:`Vec3` (:class:`Vec2` in case of :class:`Line2`) .. function:: IntersectionLine(plane2, plane2) @@ -461,7 +461,7 @@ Operations on Geometrical Objects :param plane2: The second plane :type plane2: :class:`Plane` - :raises: :exc:GeomException if the two planes are parallel. + :raises: :exc:`~exceptions.RuntimeError` if the two planes are parallel. .. function:: Distance(lhs, rhs) -- GitLab