This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git

commit 9b122c48770ef1c3403864a88006d864e66f6520
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 27 07:28:51 2025 -0500

    Better exception message
---
 src/main/java/org/apache/commons/collections4/MultiValuedMap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/collections4/MultiValuedMap.java 
b/src/main/java/org/apache/commons/collections4/MultiValuedMap.java
index 350e74e7e..4264e6836 100644
--- a/src/main/java/org/apache/commons/collections4/MultiValuedMap.java
+++ b/src/main/java/org/apache/commons/collections4/MultiValuedMap.java
@@ -148,7 +148,7 @@ public interface MultiValuedMap<K, V> {
      * @return a new MultiValuedMap with inverted mappings
      */
     default MultiValuedMap<V, K> inverted() {
-        throw new UnsupportedOperationException();
+        throw new UnsupportedOperationException(getClass() + ".inverted()");
     }
 
     /**

Reply via email to