writer2latex.xmerge

Class OfficeDocumentException

public final class OfficeDocumentException extends IOException

Used by OfficeDocument to encapsulate exceptions. It will add more details to the message string if it is of type SAXParseException.

Author: Herbie Ong

Constructor Summary
OfficeDocumentException(SAXException e)
Constructor, capturing additional information from the SAXException.
OfficeDocumentException(String s)
Constructor, creates exception with provided message.
OfficeDocumentException(Exception e)
Constructor, creates exception with the message corresponding to the message value of the provided exception.
Method Summary
StringgetMessage()
Returns the message value for the Exception.

Constructor Detail

OfficeDocumentException

public OfficeDocumentException(SAXException e)
Constructor, capturing additional information from the SAXException.

Parameters: e The SAXException.

OfficeDocumentException

public OfficeDocumentException(String s)
Constructor, creates exception with provided message.

Parameters: s Message value for the exception.

OfficeDocumentException

public OfficeDocumentException(Exception e)
Constructor, creates exception with the message corresponding to the message value of the provided exception.

Parameters: e The Exception.

Method Detail

getMessage

public String getMessage()
Returns the message value for the Exception.

Returns: The message value for the Exception.