Files
clients/WebBasedCrawler/kakao/kakaoexception.py
admin df36c714b4 add kakao exception module
git-svn-id: svn://192.168.0.12/source@295 8346c931-da38-4b9b-9d4c-e48b93cbd075
2016-09-08 06:03:28 +00:00

17 lines
525 B
Python

# Basic exception
class KakaoCrawlerException(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
# exception for no element
class NotFoundElementError(KakaoCrawlerException):
def __init__(self, *args, **kwargs):
KakaoCrawlerException.__init__(self, *args, **kwargs)
# exception for no data
class NotFoundDataError(KakaoCrawlerException):
def __init__(self, *args, **kwargs):
KakaoCrawlerException.__init__(self, *args, **kwargs)