|
DimDom v0.8.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.alltimeflashdreamer.dimdom.websitetester.ErrorSiteProcessor
Title: ErrorSiteProcessor
Description: This class generates the error output site, in case an error
came up somewhere and needs to be shown to the user. Therefore, it passes the
error site template (which is hard-coded string) and the appropriately filled
XHTMLSiteData instance to the DimDom engine which then produces the error
site output.
Field Summary | |
(package private) Exception |
ex
Description of the Field |
(package private) int |
iErrorCode
Description of the Field |
(package private) static int |
INPUTPARSERERROR
code describing the error during parsing of the XHTML source/input |
(package private) static int |
MISSINGINPUTERROR
code describing that no XHTML input string was found/given through the tester web site |
(package private) static int |
MISSINGPROCESSORCLASSERROR
code describing that the given processor class wasn't found |
(package private) static int |
PROPERTYFILEERROR
code describing the error during finding/reading of the property file |
(package private) static int |
SITEDATAERROR
code describing that an error occurred during fill-in of the dynamic data into the DimDom command objects |
(package private) static int |
SITEPRINTERROR
code describing that an error occurred during printing out of the dynamically updated Document object |
Constructor Summary | |
(package private) |
ErrorSiteProcessor(int iErrorCode,
Exception ex)
Simply stores the given parameters, for later processing. |
Method Summary | |
(package private) String |
print()
Builds the error site output and calls the print method of the DimDom class to get the fully formatted, dynamically filled XHTML string. If somehow this class itself runs into troubles, it wraps them into an IOException. |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final int PROPERTYFILEERROR
static final int MISSINGINPUTERROR
static final int INPUTPARSERERROR
static final int SITEDATAERROR
static final int SITEPRINTERROR
static final int MISSINGPROCESSORCLASSERROR
int iErrorCode
Exception ex
Constructor Detail |
ErrorSiteProcessor(int iErrorCode, Exception ex)
iErrorCode
- which error shall be shown?ex
- the exception that occurred (may be null)Method Detail |
String print() throws ServletException
ServletException
- if the processor itself suffers from some
exception...
|
Copyright (c) 2001/02 by Florian Steinsiepe | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |