sqlmap/lib/core/exception.py

64 lines
1.3 KiB
Python
Raw Normal View History

2008-10-15 19:38:22 +04:00
#!/usr/bin/env python
"""
2012-07-12 21:38:03 +04:00
Copyright (c) 2006-2012 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
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
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