The locatable SAXException, a subclass of the SAXParseException, provides a human readable representation of the location.
locatable SAXException
8889909192939495
} public void validate() throws SAXException { super.validate(); if (schemaLocation == null) { throw new LocSAXException("Missing attribute: 'schemaLocation'", getLocator()); } }