Thanks to visit codestin.com
Credit goes to api.nette.org

class DeprecatedException extends NotSupportedException

The exception that is thrown when a requested method or operation is deprecated.