com.wm.app.tn.doc
Class CorruptXMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.wm.util.LocalizedException
              extended by com.wm.util.ServerException
                  extended by com.wm.app.b2b.server.ServiceException
                      extended by com.wm.app.tn.err.WrappedException
                          extended by com.wm.app.tn.doc.BizDocTypeException
                              extended by com.wm.app.tn.doc.CorruptDocException
                                  extended by com.wm.app.tn.doc.CorruptXMLException
All Implemented Interfaces:
com.wm.util.SpecifiedLocale, java.io.Serializable

public class CorruptXMLException
extends CorruptDocException

A special kind of type exception which indicates that corrupt XML has been encountered. The exception encapsulates all information about the document that was successfully retrieved. Throwing one of these will short-circuit the normal type recognition and cause a CorruptXMLDocument to be generated.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.wm.util.ServerException
ALARM, QUIET
 
Fields inherited from interface com.wm.util.SpecifiedLocale
NULL_LOCALE
 
Constructor Summary
CorruptXMLException(java.lang.String msg, java.lang.Exception e)
           
 
Method Summary
static CorruptXMLException badXmlHeader(com.wm.data.IData pipeline, java.lang.Exception e)
           
static CorruptXMLException queryFailed(com.wm.data.IData pipeline, java.lang.String xql, java.lang.Exception e)
           
 
Methods inherited from class com.wm.app.tn.doc.CorruptDocException
getEnvelope, setEnvelope
 
Methods inherited from class com.wm.app.tn.err.WrappedException
addException, addExceptions, firstException, getMessage, nextException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class com.wm.util.ServerException
getSeverity, setSeverity
 
Methods inherited from class com.wm.util.LocalizedException
getErrorDetails, getInfo, getLocalizedMessage, getLocalizedMessage, getMsgId, getMsgOnly, getMsgOnly, getWrappedException, setErrorDetails
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CorruptXMLException

public CorruptXMLException(java.lang.String msg,
                           java.lang.Exception e)
Method Detail

badXmlHeader

public static CorruptXMLException badXmlHeader(com.wm.data.IData pipeline,
                                               java.lang.Exception e)

queryFailed

public static CorruptXMLException queryFailed(com.wm.data.IData pipeline,
                                              java.lang.String xql,
                                              java.lang.Exception e)