sqlmap/lib/core/exception.py

79 lines
1.6 KiB
Python
Raw Permalink Normal View History

2019-05-08 13:47:52 +03:00
#!/usr/bin/env python
2008-10-15 19:38:22 +04:00
"""
2022-01-03 13:30:34 +03:00
Copyright (c) 2006-2022 sqlmap developers (https://sqlmap.org/)
2017-10-11 15:50:46 +03:00
See the file 'LICENSE' 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
2014-11-10 15:41:53 +03:00
class SqlmapInstallationException(SqlmapBaseException):
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
2017-07-26 00:32:30 +03:00
class SqlmapSkipTargetException(SqlmapBaseException):
pass
2013-01-14 14:22:38 +04:00
class SqlmapSyntaxException(SqlmapBaseException):
pass
2014-11-16 16:25:44 +03:00
class SqlmapSystemException(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