diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/HelpViewer/HelpViewerImpl.py --- a/src/eric7/HelpViewer/HelpViewerImpl.py Thu May 25 11:12:05 2023 +0200 +++ b/src/eric7/HelpViewer/HelpViewerImpl.py Thu May 25 19:51:47 2023 +0200 @@ -41,9 +41,9 @@ @param url URL of the document @type QUrl - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def link(self): """ @@ -51,9 +51,9 @@ @return URL of the document @rtype QUrl - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return QUrl() def pageTitle(self): @@ -62,9 +62,9 @@ @return page title @rtype str - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return "" def isEmptyPage(self): @@ -73,9 +73,9 @@ @return flag indicating an empty page is loaded @rtype bool - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return False def gotoHistory(self, index): @@ -84,9 +84,9 @@ @param index history index (<0 backward, >0 forward) @type int - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def isBackwardAvailable(self): """ @@ -95,9 +95,9 @@ @return flag indicating backward stepping is available @rtype bool - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return False def isForwardAvailable(self): @@ -107,26 +107,26 @@ @return flag indicating forward stepping is available @rtype bool - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return False def scaleUp(self): """ Public method to zoom in. - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def scaleDown(self): """ Public method to zoom out. - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def setScale(self, scale): """ @@ -134,17 +134,17 @@ @param scale zoom level to set @type int - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def resetScale(self): """ Public method to reset the zoom level. - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") def scale(self): """ @@ -152,9 +152,9 @@ @return current zoom level @rtype int - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return 0 def isScaleUpAvailable(self): @@ -163,9 +163,9 @@ @return flag indicating scale up is available @rtype bool - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return False def isScaleDownAvailable(self): @@ -174,7 +174,7 @@ @return flag indicating scale down is available @rtype bool - @exception RuntimeError raised when not implemented + @exception NotImplementedError raised when not implemented """ - raise RuntimeError("Not implemented") + raise NotImplementedError("Not implemented") return False