diff options
Diffstat (limited to 'docs/cpp/exceptions.rst')
-rw-r--r-- | docs/cpp/exceptions.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/cpp/exceptions.rst b/docs/cpp/exceptions.rst index 93a680533..414f27a78 100644 --- a/docs/cpp/exceptions.rst +++ b/docs/cpp/exceptions.rst @@ -2,26 +2,26 @@ Exceptions ========== The CVC5 API communicates certain errors using exceptions. We broadly -distinguish two types of exceptions: :cpp:class:`CVC4ApiException -<cvc5::api::CVC4ApiException>` and :cpp:class:`CVC4ApiRecoverableException -<cvc5::api::CVC4ApiRecoverableException>` (which is derived from -:cpp:class:`CVC4ApiException <cvc5::api::CVC4ApiException>`). +distinguish two types of exceptions: :cpp:class:`CVC5ApiException +<cvc5::api::CVC5ApiException>` and :cpp:class:`CVC5ApiRecoverableException +<cvc5::api::CVC5ApiRecoverableException>` (which is derived from +:cpp:class:`CVC5ApiException <cvc5::api::CVC5ApiException>`). -If any method fails with a :cpp:class:`CVC4ApiRecoverableException -<cvc5::api::CVC4ApiRecoverableException>`, the solver behaves as if the failing +If any method fails with a :cpp:class:`CVC5ApiRecoverableException +<cvc5::api::CVC5ApiRecoverableException>`, the solver behaves as if the failing method was not called. The solver can still be used safely. -If, however, a method fails with a :cpp:class:`CVC4ApiException -<cvc5::api::CVC4ApiException>`, the associated object may be in an unsafe state +If, however, a method fails with a :cpp:class:`CVC5ApiException +<cvc5::api::CVC5ApiException>`, the associated object may be in an unsafe state and it should no longer be used. -.. doxygenclass:: cvc5::api::CVC4ApiException +.. doxygenclass:: cvc5::api::CVC5ApiException :project: cvc5 :members: :undoc-members: -.. doxygenclass:: cvc5::api::CVC4ApiRecoverableException +.. doxygenclass:: cvc5::api::CVC5ApiRecoverableException :project: cvc5 :members: :undoc-members: |