Package writer2latex.xmerge
Class OfficeDocumentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- writer2latex.xmerge.OfficeDocumentException
-
- All Implemented Interfaces:
java.io.Serializable
public final class OfficeDocumentException extends java.io.IOException
Used by OfficeDocument to encapsulate exceptions. It will add more details to the message string if it is of typeSAXParseException
.- Author:
- Herbie Ong
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfficeDocumentException(java.lang.Exception e)
Constructor, creates exception with the message corresponding to the message value of the provided exception.OfficeDocumentException(java.lang.String s)
Constructor, creates exception with provided message.OfficeDocumentException(org.xml.sax.SAXException e)
Constructor, capturing additional information from theSAXException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the message value for theException
.
-
-
-
Constructor Detail
-
OfficeDocumentException
public OfficeDocumentException(org.xml.sax.SAXException e)
Constructor, capturing additional information from theSAXException
.- Parameters:
e
- TheSAXException
.
-
OfficeDocumentException
public OfficeDocumentException(java.lang.String s)
Constructor, creates exception with provided message.- Parameters:
s
- Message value for the exception.
-
OfficeDocumentException
public OfficeDocumentException(java.lang.Exception e)
Constructor, creates exception with the message corresponding to the message value of the provided exception.- Parameters:
e
- The Exception.
-
-