Package writer2latex.xmerge
Class OfficeDocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
writer2latex.xmerge.OfficeDocumentException
- All Implemented Interfaces:
Serializable
Used by OfficeDocument to encapsulate exceptions. It will add
more details to the message string if it is of type
SAXParseException.- Author:
- Herbie Ong
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor, creates exception with the message corresponding to the message value of the provided exception.Constructor, creates exception with provided message.Constructor, capturing additional information from theSAXException. -
Method Summary
Modifier and TypeMethodDescriptionReturns the message value for theException.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OfficeDocumentException
Constructor, capturing additional information from theSAXException.- Parameters:
e- TheSAXException.
-
OfficeDocumentException
Constructor, creates exception with provided message.- Parameters:
s- Message value for the exception.
-
OfficeDocumentException
Constructor, creates exception with the message corresponding to the message value of the provided exception.- Parameters:
e- The Exception.
-
-
Method Details
-
getMessage
Returns the message value for theException.- Overrides:
getMessagein classThrowable- Returns:
- The message value for the
Exception.
-