Skip to content

Commit f2ba590

Browse files
committed
Do not throw lots of exceptions while probing ICU versions
1 parent c20bd50 commit f2ba590

2 files changed

Lines changed: 137 additions & 116 deletions

File tree

src/common/StatusHolder.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ class BaseStatus : public IStatusImpl<Final, CheckStatusWrapper>
236236
status_exception::raise(s);
237237
}
238238

239+
bool hasErrors() const
240+
{
241+
return getState() & IStatus::STATE_ERRORS;
242+
}
243+
239244
protected:
240245
void clear()
241246
{

0 commit comments

Comments
 (0)