Exceptions

ServiceUsageException

ServiceUsageError is thrown when either service usage limit has been reached or credentials quota has been exhausted.

adobe.pdfservices.operation.exception.exceptions.ServiceUsageException.add_note()

Exception.add_note(note) – add a note to the exception

adobe.pdfservices.operation.exception.exceptions.ServiceUsageException.with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

ServiceApiException

ServiceApiException is thrown when an underlying service API call results in an error.

adobe.pdfservices.operation.exception.exceptions.ServiceApiException.add_note()

Exception.add_note(note) – add a note to the exception

adobe.pdfservices.operation.exception.exceptions.ServiceApiException.with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

SdkException

SdkException is typically thrown for client-side or network errors.

adobe.pdfservices.operation.exception.exceptions.SdkException.add_note()

Exception.add_note(note) – add a note to the exception

adobe.pdfservices.operation.exception.exceptions.SdkException.with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.