def __init__(self, query_name):
        """Constructor.

        :param query_name: name of the unknown query.
        """
        super(RESTException, self).__init__()
        self.query_name = query_name
        self.description = 'Unknown statistic \'{}\''.format(query_name)
def __init__ ( self , query_name ) : super ( RESTException , self ) . __init__ ( ) self . query_name = query_name self . description = 'Unknown statistic \'{}\'' . format ( query_name )
Constructor.

        :param query_name: name of the unknown query.