otie.component
Class ErrorFile

java.lang.Object
  extended byotie.component.PageComponent
      extended byotie.component.ErrorFile

public class ErrorFile
extends PageComponent

Title: ErrorFile

Description: Creates a error element into a XML file

Copyright: Copyright (c) Petteri Nurmi 2004

Company: Helsinki Institute for Information Technology

Version:
1.0
Author:
Petteri Nurmi

Field Summary
private  java.lang.Exception ex
          The exception of which to create the error message.
 
Fields inherited from class otie.component.PageComponent
pMan, xFile
 
Constructor Summary
ErrorFile(java.lang.Exception ex)
          Create a new XML error file.
 
Method Summary
protected  void generateContent()
          Overrides the PageComponent generateContent() method.
 
Methods inherited from class otie.component.PageComponent
getContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ex

private java.lang.Exception ex
The exception of which to create the error message.

Constructor Detail

ErrorFile

public ErrorFile(java.lang.Exception ex)
Create a new XML error file.

Parameters:
ex - Exception The exception of which the error file is to be created.
Method Detail

generateContent

protected void generateContent()
Overrides the PageComponent generateContent() method. Generates the error XML file.

Specified by:
generateContent in class PageComponent