org.deegree.commons.xml
Class XMLParsingException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.deegree.commons.xml.XMLProcessingException
org.deegree.commons.xml.XMLProcessingException
                   org.deegree.commons.xml.XMLParsingException
org.deegree.commons.xml.XMLParsingException
- All Implemented Interfaces: 
- Serializable
- Direct Known Subclasses: 
- EventTime100XMLAdapter.EventTimeXMLParsingException, GetObservation100XMLAdapter.ResultFilterException
- public class XMLParsingException 
- extends XMLProcessingException
Thrown when a syntactic or semantic error has been encountered during the parsing process in an XMLAdapter.
 
 Helps to determine the error in the XML document by returning file name and position (column, line, character offset)
 information in getMessage() when they are available.
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , Oliver Tonnhofer , last edited by: $Author:$
- See Also:
- Serialized Form
 
 
 
 
 
XMLParsingException
@Deprecated
public XMLParsingException(String msg)
- Deprecated. 
 
XMLParsingException
public XMLParsingException(XMLStreamReader xmlReader,
                           String msg)
- Creates a new exception for a parsing error that occured in a StAX-based parsing method.
 
- Parameters:
- xmlReader-- XMLStreamReaderthat encountered the erroneous event
- msg- error information that explains the problem
 
XMLParsingException
public XMLParsingException(XMLAdapter origin,
                           org.apache.axiom.om.OMElement erroneousElement,
                           String msg)
- Creates a new exception for a parsing error that occured in an AXIOM-based parsing method.
 
- Parameters:
- origin-- XMLAdapterthat determined the error (usually use- this)
- erroneousElement- element that contains the error
- msg- error information that explains the problem
 
getMessage
public String getMessage()
- 
- Overrides:
- getMessagein class- XMLProcessingException
 
- 
 
Copyright © 2011. All Rights Reserved.