3 class SafeException(Exception):
4 """An exception that can be reported to the user without a stack
7 class NeedDownload(SafeException
):
8 """Thrown if we tried to start a download with allow_downloads = False"""
9 def __init__(self
, url
):
10 Exception.__init
__(self
, "Would download '%s'" % url
)