| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.lowagie.text.DocumentException
All known Subclasses: com.lowagie.text.BadElementException, com.lowagie.text.pdf.PdfException,
DocumentException | public DocumentException(Exception ex)(Code) | | Creates a Document exception.
Parameters: ex - an exception that has to be turned into a DocumentException |
DocumentException | public DocumentException()(Code) | | Constructs a DocumentException whithout a message.
|
DocumentException | public DocumentException(String message)(Code) | | Constructs a DocumentException with a message.
Parameters: message - a message describing the exception |
getLocalizedMessage | public String getLocalizedMessage()(Code) | | and make sure we also produce a localized version
a localized message |
getMessage | public String getMessage()(Code) | | We print the message of the checked exception
the error message |
printStackTrace | public void printStackTrace()(Code) | | we have to override this as well
|
printStackTrace | public void printStackTrace(java.io.PrintStream s)(Code) | | here we prefix, with s.print(), not s.println(), the stack
trace with "ExceptionConverter:"
Parameters: s - a printstream object |
printStackTrace | public void printStackTrace(java.io.PrintWriter s)(Code) | | Again, we prefix the stack trace with "ExceptionConverter:"
Parameters: s - A PrintWriter object |
toString | public String toString()(Code) | | The toString() is changed to be prefixed with ExceptionConverter
the String version of the exception |
|
|
|