schrodinger.application.licensing.licerror module¶
Provide information about FlexNet error codes to python programs.
-
exception
schrodinger.application.licensing.licerror.
LicenseException
(error)¶ Bases:
Exception
A LicenseException delivers a LicenseError up the call chain.
-
__init__
(error)¶ Initialize self. See help(type(self)) for accurate signature.
-
__str__
()¶ Return str(self).
-
__cause__
¶ exception cause
-
__class__
¶ alias of
builtins.type
-
__context__
¶ exception context
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.licensing.licerror', '__doc__': '\n A LicenseException delivers a LicenseError up the call chain.\n ', '__init__': <function LicenseException.__init__>, '__str__': <function LicenseException.__str__>, '__weakref__': <attribute '__weakref__' of 'LicenseException' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.licensing.licerror'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__setstate__
()¶
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__suppress_context__
¶
-
__traceback__
¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
class
schrodinger.application.licensing.licerror.
LicenseError
(errcode, msg, level=None, count=1, tag='', output='', cmd='')¶ Bases:
object
A LicenseError represents a license-related error. This includes errors reported by Flexnet Publisher (aka “FLEXlm”) and more general errors.
Many errors will be standard FLEXlm errors, with standard error codes, but this class is intended to represent more general errors, as well.
FlexNet errors all have error codes.
-
__init__
(errcode, msg, level=None, count=1, tag='', output='', cmd='')¶ Initialize self. See help(type(self)) for accurate signature.
-
__unicode__
()¶
-
__repr__
()¶ Return repr(self).
-
code
¶
-
message
¶
-
count
¶
-
__class__
¶ alias of
builtins.type
-
__delattr__
¶ Implement delattr(self, name).
-
__dict__
= mappingproxy({'__module__': 'schrodinger.application.licensing.licerror', '__doc__': '\n A LicenseError represents a license-related error. This includes errors\n reported by Flexnet Publisher (aka "FLEXlm") and more general errors.\n\n Many errors will be standard FLEXlm errors, with standard error codes,\n but this class is intended to represent more general errors, as well.\n\n FlexNet errors all have error codes.\n\n ', '__init__': <function LicenseError.__init__>, '__unicode__': <function LicenseError.__unicode__>, '__repr__': <function LicenseError.__repr__>, 'code': <property object>, 'message': <property object>, 'count': <property object>, 'advice': <property object>, 'description': <property object>, 'level': <property object>, 'tag': <property object>, 'output': <property object>, 'cmd': <property object>, 'add_output': <function LicenseError.add_output>, '__dict__': <attribute '__dict__' of 'LicenseError' objects>, '__weakref__': <attribute '__weakref__' of 'LicenseError' objects>})¶
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__module__
= 'schrodinger.application.licensing.licerror'¶
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)
-
advice
¶
-
description
¶
-
level
¶
-
tag
¶
-
output
¶
-
cmd
¶
-
add_output
(text)¶
-