# cyclonedx.contrib.license.exceptions

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

## Exceptions

`FactoryException` | Base exception that covers all exceptions that may be thrown during model factoring.
`LicenseChoiceFactoryException` | Base exception that covers all LicenseChoiceFactory exceptions.
`InvalidSpdxLicenseException` | Thrown when an invalid SPDX License is provided.
`LicenseFactoryException` | Base exception that covers all LicenseFactory exceptions.
`InvalidLicenseExpressionException` | Thrown when an invalid License expression is provided.

## Module Contents

exception cyclonedx.contrib.license.exceptions.FactoryException

  Bases: `cyclonedx.exception.CycloneDxException`

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

exception cyclonedx.contrib.license.exceptions.LicenseChoiceFactoryException

  Bases: `FactoryException`

  Base exception that covers all LicenseChoiceFactory exceptions.

exception cyclonedx.contrib.license.exceptions.InvalidSpdxLicenseException

  Bases: `LicenseChoiceFactoryException`

  Thrown when an invalid SPDX License is provided.

exception cyclonedx.contrib.license.exceptions.LicenseFactoryException

  Bases: `FactoryException`

  Base exception that covers all LicenseFactory exceptions.

exception cyclonedx.contrib.license.exceptions.InvalidLicenseExpressionException

  Bases: `LicenseFactoryException`

  Thrown when an invalid License expression is provided.