aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Comments/MessageTooLongException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Comments/MessageTooLongException.php')
-rw-r--r--lib/public/Comments/MessageTooLongException.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/Comments/MessageTooLongException.php b/lib/public/Comments/MessageTooLongException.php
new file mode 100644
index 00000000000..4358dc2e291
--- /dev/null
+++ b/lib/public/Comments/MessageTooLongException.php
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OCP\Comments;
+
+/**
+ * Exception thrown when a comment message exceeds the allowed character limit
+ * @since 9.0.0
+ */
+class MessageTooLongException extends \OverflowException {
+}