Add isStackTrace support to NotFoundException

This commit is contained in:
Sean Owen 2022-01-11 10:48:17 -06:00
parent c4266bf09c
commit 491006ac3b

View file

@ -34,7 +34,7 @@ public final class NotFoundException extends ReaderException {
}
public static NotFoundException getNotFoundInstance() {
return INSTANCE;
return isStackTrace ? new NotFoundException() : INSTANCE;
}
}