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