You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/12/27 12:28:58 UTC
(commons-collections) 02/02: Better exception message
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 <ga...@gmail.com>
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()");
}
/**