cyclonedx.contrib.license.exceptions
====================================

.. py:module:: cyclonedx.contrib.license.exceptions

.. autoapi-nested-parse::

   Exceptions relating to specific conditions that occur when factoring a model.



Exceptions
----------

.. autoapisummary::

   cyclonedx.contrib.license.exceptions.FactoryException
   cyclonedx.contrib.license.exceptions.LicenseChoiceFactoryException
   cyclonedx.contrib.license.exceptions.InvalidSpdxLicenseException
   cyclonedx.contrib.license.exceptions.LicenseFactoryException
   cyclonedx.contrib.license.exceptions.InvalidLicenseExpressionException


Module Contents
---------------

.. py:exception:: FactoryException

   Bases: :py:obj:`cyclonedx.exception.CycloneDxException`


   Base exception that covers all exceptions that may be thrown during model factoring.


.. py:exception:: LicenseChoiceFactoryException

   Bases: :py:obj:`FactoryException`


   Base exception that covers all LicenseChoiceFactory exceptions.


.. py:exception:: InvalidSpdxLicenseException

   Bases: :py:obj:`LicenseChoiceFactoryException`


   Thrown when an invalid SPDX License is provided.


.. py:exception:: LicenseFactoryException

   Bases: :py:obj:`FactoryException`


   Base exception that covers all LicenseFactory exceptions.


.. py:exception:: InvalidLicenseExpressionException

   Bases: :py:obj:`LicenseFactoryException`


   Thrown when an invalid License expression is provided.


