def create(self, *args, **kwargs):
        """
        Catches errors that may be returned, and raises more informational
        exceptions.
        """
        try:
            return super(CloudBlockStorageManager, self).create(*args,
                    **kwargs)
        except exc.BadRequest as e:
            msg = e.message
            if "Clones currently must be >= original volume size" in msg:
                raise exc.VolumeCloneTooSmall(msg)
            else:
                raise
def create ( self , * args , ** kwargs ) : try : return super ( CloudBlockStorageManager , self ) . create ( * args , ** kwargs ) except exc . BadRequest as e : msg = e . message if "Clones currently must be >= original volume size" in msg : raise exc . VolumeCloneTooSmall ( msg ) else : raise
Catches errors that may be returned, and raises more informational
        exceptions.