public class WriteLimitReachedException extends SAXException
| Constructor and Description |
|---|
WriteLimitReachedException(int writeLimit) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
static boolean |
isWriteLimitReached(Throwable t)
Checks whether the given exception (or any of it's root causes) was
thrown by this handler as a signal of reaching the write limit.
|
static void |
throwIfWriteLimitReached(Exception ex) |
getCause, getException, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic String getMessage()
getMessage in class SAXExceptionpublic static boolean isWriteLimitReached(Throwable t)
t - throwabletrue if the write limit was reached,
false otherwisepublic static void throwIfWriteLimitReached(Exception ex) throws SAXException
SAXExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.