org.openoffice.xmerge.converter.xml
Class OfficeDocumentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--org.openoffice.xmerge.converter.xml.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 type
SAXParseException
.
- See Also:
- Serialized Form
Constructor Summary |
OfficeDocumentException(java.lang.Exception e)
Constructor, creates exception with the message
corresponding to the message value of the provided
exception. |
OfficeDocumentException(org.xml.sax.SAXException e)
Constructor, capturing additional information from the
SAXException . |
OfficeDocumentException(java.lang.String s)
Constructor, creates exception with provided message. |
Method Summary |
java.lang.String |
getMessage()
Returns the message value for the Exception . |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
OfficeDocumentException
public OfficeDocumentException(org.xml.sax.SAXException e)
- Constructor, capturing additional information from the
SAXException
.
- Parameters:
e
- The SAXException
.
OfficeDocumentException
public OfficeDocumentException(java.lang.String s)
- Constructor, creates exception with provided message.
- Parameters:
s
- Message value for the exception.
getMessage
public java.lang.String getMessage()
- Returns the message value for the
Exception
.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- The message value for the
Exception
.
Copyright © 2002 OpenOffice.org