Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Exclusion Advent-ure: correctly send (exception) messages to Santa (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheasby authored Dec 6, 2021
1 parent deb412a commit 0d850ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public synchronized Throwable fillInStackTrace() {
}

@Override
public String toString() {
String message = getLocalizedMessage();
public String getMessage() {
String message = super.getMessage();
return (message == null) ? getClass().getSimpleName() : message;
}

Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ allprojects {
'MixedMutabilityReturnType',
'ModifyCollectionInEnhancedForLoop',
'NarrowingCompoundAssignment',
'OverrideThrowableToString',
'PreconditionsConstantMessage',
'PreconditionsInvalidPlaceholder',
'PublicConstructorForAbstractClass',
Expand Down

0 comments on commit 0d850ad

Please sign in to comment.