|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.g11ntoolkit.parser.xml.LTSAXErrorHandler
Implements the SAX Parser error handler.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Field Summary | |
private static java.util.logging.Logger |
log
The log used for all messages from this class. |
| Constructor Summary | |
LTSAXErrorHandler()
Default constructor. |
|
| Method Summary | |
void |
error(org.xml.sax.SAXParseException ex)
Displays an Error exception message. |
void |
fatalError(org.xml.sax.SAXParseException ex)
Displays a Fatal exception message on standard out then passes it on as a SAXException. |
private java.lang.String |
getLocationString(org.xml.sax.SAXParseException ex)
Returns a string containing the location of the exception. |
void |
warning(org.xml.sax.SAXParseException ex)
Displays a Warning exception message. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static java.util.logging.Logger log
| Constructor Detail |
public LTSAXErrorHandler()
| Method Detail |
public void warning(org.xml.sax.SAXParseException ex)
Displays the exception message on standard out with the word Warning in front of it.
warning in interface org.xml.sax.ErrorHandlerex - a SAXParseExceptionpublic void error(org.xml.sax.SAXParseException ex)
Displays the exception message on standard out with the word Error in front of it.
error in interface org.xml.sax.ErrorHandlerex - a SAXParseException
public void fatalError(org.xml.sax.SAXParseException ex)
throws org.xml.sax.SAXException
SAXException.
fatalError in interface org.xml.sax.ErrorHandlerex - a SAXParseException
org.xml.sax.SAXExceptionprivate java.lang.String getLocationString(org.xml.sax.SAXParseException ex)
ex - a SAXParseException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||