cyclonedx.contrib.license.exceptions
Exceptions relating to specific conditions that occur when factoring a model.
Module Contents
- exception cyclonedx.contrib.license.exceptions.FactoryException
Bases:
cyclonedx.exception.CycloneDxExceptionBase exception that covers all exceptions that may be thrown during model factoring.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception cyclonedx.contrib.license.exceptions.LicenseChoiceFactoryException
Bases:
FactoryExceptionBase exception that covers all LicenseChoiceFactory exceptions.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception cyclonedx.contrib.license.exceptions.InvalidSpdxLicenseException
Bases:
LicenseChoiceFactoryExceptionThrown when an invalid SPDX License is provided.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception cyclonedx.contrib.license.exceptions.LicenseFactoryException
Bases:
FactoryExceptionBase exception that covers all LicenseFactory exceptions.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception cyclonedx.contrib.license.exceptions.InvalidLicenseExpressionException
Bases:
LicenseFactoryExceptionThrown when an invalid License expression is provided.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.