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, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String getMessage()
getMessage
in class SAXException
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–2021 The Apache Software Foundation. All rights reserved.