uk.org.ogsadai.client.toolkit.exception
Class DocumentParsingException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.org.ogsadai.client.toolkit.exception.DAIException
|
+--uk.org.ogsadai.client.toolkit.exception.DocumentParsingException
- All Implemented Interfaces:
- java.io.Serializable
- public class DocumentParsingException
- extends DAIException
Exception thrown when an XML document cannot be parsed correctly either
because it is not valid XML or does not conform to a required document
schema.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
|
Constructor Summary |
DocumentParsingException(java.lang.String document,
java.lang.Throwable exception,
org.apache.log4j.Logger logger)
Constructs the exception wrapping the given inner exception and logging
the creation to the given logger. |
DocumentParsingException(java.lang.Throwable e,
org.apache.log4j.Logger logger)
Constructs the exception, wrapping the given inner exception and logging
the creation to the given logger. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DocumentParsingException
public DocumentParsingException(java.lang.Throwable e,
org.apache.log4j.Logger logger)
- Constructs the exception, wrapping the given inner exception and logging
the creation to the given logger.
- Parameters:
e - inner exception to be wrappedlogger - logger at which to log the creation of this exception
DocumentParsingException
public DocumentParsingException(java.lang.String document,
java.lang.Throwable exception,
org.apache.log4j.Logger logger)
- Constructs the exception wrapping the given inner exception and logging
the creation to the given logger. The XML string that cannot be parsed
is also added to the error message.
- Parameters:
document - the XML the produced the parsing errorexception - inner exception to be wrapperlogger - logger at which to log the creation of this exception