From ac4688dabbd41ce952f06446b325ad5fbe651046 Mon Sep 17 00:00:00 2001 From: Damian Canabal Date: Fri, 3 Oct 2008 19:50:26 +0000 Subject: [PATCH] added NotSupported Exception --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40297 --- scrapy/trunk/scrapy/core/exceptions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scrapy/trunk/scrapy/core/exceptions.py b/scrapy/trunk/scrapy/core/exceptions.py index 416559226..bf4fd7fd5 100644 --- a/scrapy/trunk/scrapy/core/exceptions.py +++ b/scrapy/trunk/scrapy/core/exceptions.py @@ -21,7 +21,7 @@ class IgnoreRequest(Exception): class DontCloseDomain(Exception): """Request the domain not to be closed yet""" pass - + class HttpException(Exception): def __init__(self, status, message, response): if not message: @@ -42,3 +42,6 @@ class DropItem(Exception): """Drop item from the item pipeline""" pass +class NotSupported(Exception): + """Indicates a feature or method is not supported""" + pass \ No newline at end of file