:py:mod:`cyclonedx.exception`
=============================

.. py:module:: cyclonedx.exception

.. autoapi-nested-parse::

   Exceptions that are specific to the CycloneDX library implementation.



Submodules
----------
.. toctree::
   :titlesonly:
   :maxdepth: 1

   factory/index.rst
   model/index.rst
   output/index.rst
   serialization/index.rst


Package Contents
----------------

.. py:exception:: CycloneDxException


   Bases: :py:obj:`Exception`

   Root exception thrown by this library.

   .. py:class:: args



   .. py:method:: add_note()

      Exception.add_note(note) --
      add a note to the exception


   .. py:method:: with_traceback()

      Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.



.. py:exception:: MissingOptionalDependencyException


   Bases: :py:obj:`CycloneDxException`

   Validation did not happen, due to missing dependencies.

   .. py:class:: args



   .. py:method:: add_note()

      Exception.add_note(note) --
      add a note to the exception


   .. py:method:: with_traceback()

      Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.



