cyclonedx.contrib.license.exceptions

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

Classes

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

class cyclonedx.contrib.license.exceptions.FactoryException

Bases: cyclonedx.exception.CycloneDxException

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

class cyclonedx.contrib.license.exceptions.LicenseChoiceFactoryException

Bases: FactoryException

Base exception that covers all LicenseChoiceFactory exceptions.

class cyclonedx.contrib.license.exceptions.InvalidSpdxLicenseException

Bases: LicenseChoiceFactoryException

Thrown when an invalid SPDX License is provided.

class cyclonedx.contrib.license.exceptions.LicenseFactoryException

Bases: FactoryException

Base exception that covers all LicenseFactory exceptions.

class cyclonedx.contrib.license.exceptions.InvalidLicenseExpressionException

Bases: LicenseFactoryException

Thrown when an invalid License expression is provided.