Hello,

How can we send a 507 (Insufficient Storage) exception in a listener.
I tried with the following code :

InsufficientStorageException insufficientStorageException = new InsufficientStorageException(requestUri, connectedUser, QUOTA_EXCEEDED);
VetoException vetoException = new VetoException(QUOTA_EXCEEDED);
vetoException.initCause(insufficientStorageException);
throw vetoException;

...but a 406 error is sent.

Any idea ?

Thank you.

Thomas

--
+---=(    Thomas Bellembois    )=---+
| CRI - University of Rennes 1 - FR |
| [EMAIL PROTECTED] |
| +33 2 23 23 69 60                 |
+-----------------------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to