deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.xml
Class XMLParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deegree.framework.xml.XMLParsingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FilterConstructionException, XMLSchemaException

public class XMLParsingException
extends java.lang.Exception

This exception is thrown when a syntactic or semantic error has been encountered during the parsing process of an XML document.

Version:
$Revision: 18195 $
Author:
Markus Schneider
See Also:
Serialized Form

Constructor Summary
XMLParsingException()
          Creates a new instance of XMLParsingException without detail message.
XMLParsingException(boolean wrapException, OGCWebServiceException wrapped)
          Workaround to beat the "no API change" policy.
XMLParsingException(java.lang.String msg)
          Constructs an instance of XMLParsingException with the specified detail message.
XMLParsingException(java.lang.String msg, java.lang.Throwable e)
          Constructs an instance of XMLParsingException with the specified detail message.
XMLParsingException(java.lang.Throwable cause)
          Constructs an instance of XMLParsingException with the specified cause.
 
Method Summary
 OGCWebServiceException getWrapped()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLParsingException

XMLParsingException()
Creates a new instance of XMLParsingException without detail message.


XMLParsingException

public XMLParsingException(boolean wrapException,
                           OGCWebServiceException wrapped)
Workaround to beat the "no API change" policy.

Parameters:
wrapException - ignored parameter, to avoid clashing with the other constructor taking a Throwable.
wrapped -

XMLParsingException

public XMLParsingException(java.lang.String msg)
Constructs an instance of XMLParsingException with the specified detail message.

Parameters:
msg - the detail message

XMLParsingException

public XMLParsingException(java.lang.Throwable cause)
Constructs an instance of XMLParsingException with the specified cause.

Parameters:
cause - the Throwable that caused this XMLParsingException

XMLParsingException

public XMLParsingException(java.lang.String msg,
                           java.lang.Throwable e)
Constructs an instance of XMLParsingException with the specified detail message.

Parameters:
msg - the detail message.
e - the cause of the exception to be thrown.
Method Detail

getWrapped

public OGCWebServiceException getWrapped()
Returns:
the wrapped Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org