Top Description Fields Constructors Methods
com.ctc.wstx.exc

public Class WstxLazyException

extends RuntimeException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.xml.stream.XMLStreamException

Alternative exception class Woodstox code uses when it is not allowed to throw an instance of XMLStreamException; this generally happens when doing lazy parsing.

Field Summary

Modifier and TypeField and Description
pack-priv final XMLStreamException

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Need to override this, to be able to dynamically construct and display the location information...

public static void
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

mOrigback to summary
pack-priv final XMLStreamException mOrig

Constructor Detail

WstxLazyExceptionback to summary
public WstxLazyException(XMLStreamException origEx)

Method Detail

getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Need to override this, to be able to dynamically construct and display the location information...

Returns:String

Doc from java.lang.Throwable.getMessage.

the detail message string of this Throwable instance (which may be null).

Annotations
@Override
throwLazilyback to summary
public static void throwLazily(XMLStreamException ex) throws WstxLazyException
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override