diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 13:59:13 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-09 13:59:13 +0100 |
commit | bbc86e0756429b4c51e245d6dcf3ad5a5a1785eb (patch) | |
tree | 74505daa8ec4089559238d1a31193599265f4c13 /lib | |
parent | 347ad3e223e2582124d56b0d7174886bde194c16 (diff) | |
download | nextcloud-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.php | 4 |
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 {} |