Skip to content

Commit

Permalink
Add classname to UOExceptions in PlaceholderData (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonOellerer authored Aug 26, 2024
1 parent 385d516 commit 32dca6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group 'com.docutools'
version = '4.2.0'
version = '4.2.1'

java {
toolchain {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/docutools/jocument/PlaceholderData.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public interface PlaceholderData {
* @return stream of {@link com.docutools.jocument.PlaceholderResolver}s
*/
default Stream<PlaceholderResolver> stream() {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException(this.getClass().toString());
}

/**
Expand All @@ -41,7 +41,7 @@ default Stream<PlaceholderResolver> stream() {
* @return count of {@link com.docutools.jocument.PlaceholderResolver}s
*/
default long count() {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException(this.getClass().toString());
}

/**
Expand All @@ -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());
}

/**
Expand All @@ -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());
}

/**
Expand Down

0 comments on commit 32dca6c

Please sign in to comment.