public class WriteLimitReachedException extends SAXException
Constructor and Description |
---|
WriteLimitReachedException(String msg) |
Modifier and Type | Method and Description |
---|---|
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, getMessage, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public WriteLimitReachedException(String msg)
public static boolean isWriteLimitReached(Throwable t)
t
- throwabletrue
if the write limit was reached,
false
otherwisepublic static void throwIfWriteLimitReached(Exception ex) throws SAXException
SAXException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.