Beispiel #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()
Beispiel #2
0
def pathNotFoundHandler(errorString):
    return handleException(exceptions.PathNotFoundException())
Beispiel #3
0
def searchReferences(version):
    raise exceptions.PathNotFoundException()
Beispiel #4
0
def getReferenceSet(version, id):
    raise exceptions.PathNotFoundException()