diff --git a/lib/connector/sabre/quotaplugin.php b/lib/connector/sabre/quotaplugin.php
index a56a65ad863f504e9a66cd1aea4bbade16345cd7..fbbb4a3cf6f302f0f7c4ea805fc7e1bb3b91859d 100644
--- a/lib/connector/sabre/quotaplugin.php
+++ b/lib/connector/sabre/quotaplugin.php
@@ -51,7 +51,7 @@ class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
 			}
 			list($parentUri, $newName) = Sabre_DAV_URLUtil::splitPath($uri);
 			if ($length > OC_Filesystem::free_space($parentUri)) {
-				throw new Sabre_DAV_Exception('Quota exceeded. File is too big.');
+				throw new Sabre_DAV_Exception_InsufficientStorage();
 			}
 		}
 		return true;