diff --git a/build.gradle b/build.gradle index d222a18..863e3d7 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group 'com.docutools' -version = '4.2.0' +version = '4.2.1' java { toolchain { diff --git a/src/main/java/com/docutools/jocument/PlaceholderData.java b/src/main/java/com/docutools/jocument/PlaceholderData.java index 1c7e972..8e7ff3d 100644 --- a/src/main/java/com/docutools/jocument/PlaceholderData.java +++ b/src/main/java/com/docutools/jocument/PlaceholderData.java @@ -30,7 +30,7 @@ public interface PlaceholderData { * @return stream of {@link com.docutools.jocument.PlaceholderResolver}s */ default Stream stream() { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException(this.getClass().toString()); } /** @@ -41,7 +41,7 @@ default Stream stream() { * @return count of {@link com.docutools.jocument.PlaceholderResolver}s */ default long count() { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException(this.getClass().toString()); } /** @@ -54,7 +54,7 @@ default long count() { * @param options the {@link GenerationOptions} */ default void transform(Object placeholder, Locale locale, GenerationOptions options) { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException(this.getClass().toString()); } /** @@ -63,7 +63,7 @@ default void transform(Object placeholder, Locale locale, GenerationOptions opti * @return the raw value */ default Object getRawValue() { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException(this.getClass().toString()); } /**