def METHOD_NAME(self):
    """
    Returns the current assetstore. If none exists, this will raise a 500
    exception.
    """
    current = self.findOne({'current': True})
    if current is None:
        raise GirderException(
            'No current assetstore is set.',
            'girder.model.assetstore.no-current-assetstore')
    return current