aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-02-09 13:59:13 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-02-09 13:59:13 +0100
commitbbc86e0756429b4c51e245d6dcf3ad5a5a1785eb (patch)
tree74505daa8ec4089559238d1a31193599265f4c13 /lib
parent347ad3e223e2582124d56b0d7174886bde194c16 (diff)
downloadnextcloud-server-bbc86e0756429b4c51e245d6dcf3ad5a5a1785eb.tar.gz
nextcloud-server-bbc86e0756429b4c51e245d6dcf3ad5a5a1785eb.zip
on DAV throw Bad Request if provided message is too long
Diffstat (limited to 'lib')
-rw-r--r--lib/public/comments/messagetoolongexception.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/comments/messagetoolongexception.php b/lib/public/comments/messagetoolongexception.php
index 5b2809ae9ce..054cecf320f 100644
--- a/lib/public/comments/messagetoolongexception.php
+++ b/lib/public/comments/messagetoolongexception.php
@@ -21,7 +21,7 @@
namespace OCP\Comments;
/**
- * Exception for not found entity
+ * Exception thrown when a comment message exceeds the allowed character limit
* @since 9.0.0
*/
-class MessageTooLongException extends \Exception {}
+class MessageTooLongException extends \OverflowException {}