summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-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 {}