cyclonedx.exception.factory
Exceptions relating to specific conditions that occur when factoring a model.
Module Contents
- exception cyclonedx.exception.factory.CycloneDxFactoryException
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.exception.factory.LicenseChoiceFactoryException
Bases:
CycloneDxFactoryExceptionBase 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.exception.factory.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.exception.factory.LicenseFactoryException
Bases:
CycloneDxFactoryExceptionBase 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.exception.factory.InvalidLicenseExpressionException
Bases:
LicenseFactoryExceptionThrown when an invalid License expressions 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.