sqlmap/lib/core/exception.py

70 lines
1.4 KiB
Python
Raw Normal View History

#!/usr/bin/env python
2008-10-15 19:38:22 +04:00
"""
2014-01-13 21:24:49 +04:00
Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/)
2010-10-15 03:18:29 +04:00
See the file 'doc/COPYING' for copying permission
2008-10-15 19:38:22 +04:00
"""
2013-01-14 14:22:38 +04:00
class SqlmapBaseException(Exception):
2012-09-11 16:58:52 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapCompressionException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapConnectionException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapDataException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapFilePathException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapGenericException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapMissingDependence(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapMissingMandatoryOptionException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapMissingPrivileges(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapNoneDataException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapNotVulnerableException(SqlmapBaseException):
pass
2013-01-14 14:22:38 +04:00
class SqlmapSilentQuitException(SqlmapBaseException):
2010-09-30 23:45:23 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapUserQuitException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2014-09-16 16:12:43 +04:00
class SqlmapShellQuitException(SqlmapBaseException):
pass
2013-01-14 14:22:38 +04:00
class SqlmapSyntaxException(SqlmapBaseException):
pass
2013-01-14 14:22:38 +04:00
class SqlmapThreadException(SqlmapBaseException):
2009-12-03 01:54:39 +03:00
pass
2014-10-23 13:23:53 +04:00
class SqlmapTokenException(SqlmapBaseException):
pass
2013-01-14 14:22:38 +04:00
class SqlmapUndefinedMethod(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapUnsupportedDBMSException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapUnsupportedFeatureException(SqlmapBaseException):
2008-10-15 19:38:22 +04:00
pass
2013-01-14 14:22:38 +04:00
class SqlmapValueException(SqlmapBaseException):
pass