sqlmap/lib/core/exception.py

84 lines
1.9 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
"""
class SqlmapCompressionException(Exception):
2012-09-11 16:58:52 +04:00
pass
class SqlmapConnectionException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapDataException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapFilePathException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapGenericException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapMissingDependence(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapMissingMandatoryOptionException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapMissingPrivileges(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapNoneDataException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapNotVulnerableException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapSilentQuitException(Exception):
pass
class SqlmapUserQuitException(Exception):
2010-09-30 23:45:23 +04:00
pass
class SqlmapRegExprException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapSyntaxException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapThreadException(Exception):
pass
class SqlmapUndefinedMethod(Exception):
2009-12-03 01:54:39 +03:00
pass
class SqlmapUnsupportedDBMSException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapUnsupportedFeatureException(Exception):
2008-10-15 19:38:22 +04:00
pass
class SqlmapValueException(Exception):
2008-10-15 19:38:22 +04:00
pass
exceptionsTuple = (
SqlmapCompressionException,
SqlmapConnectionException,
SqlmapDataException,
SqlmapFilePathException,
SqlmapGenericException,
SqlmapMissingDependence,
SqlmapMissingMandatoryOptionException,
SqlmapNoneDataException,
SqlmapRegExprException,
SqlmapSyntaxException,
SqlmapUndefinedMethod,
SqlmapMissingPrivileges,
SqlmapNotVulnerableException,
SqlmapThreadException,
SqlmapUnsupportedDBMSException,
SqlmapUnsupportedFeatureException,
SqlmapValueException,
)