def indexRedirect(version): try: isCurrentVersion = Version.isCurrentVersion(version) except TypeError: # malformed "version string" raise exceptions.PathNotFoundException() if isCurrentVersion: return index() else: raise exceptions.PathNotFoundException()
def pathNotFoundHandler(errorString): return handleException(exceptions.PathNotFoundException())
def searchReferences(version): raise exceptions.PathNotFoundException()
def getReferenceSet(version, id): raise exceptions.PathNotFoundException()