rpki.publication.report_error_elt Class Reference

Inherits rpki::xml_utils::text_elt, and rpki::publication::publication_namespace.

Inherited by irbe_cli.report_error_elt.

Collaboration diagram for rpki.publication.report_error_elt:
Collaboration graph

List of all members.

Public Member Functions

def __str__
def from_exception
def raise_if_error

Public Attributes

 error_code
 tag

Static Public Attributes

tuple attributes = ("tag", "error_code")
 XML attributes for this element.
string element_name = "report_error"
 error_text = None
string text_attribute = "error_text"
 Name of the class attribute that holds the text value.

Detailed Description

<report_error/> element.

Definition at line 321 of file publication.py.


Member Function Documentation

def rpki.publication.report_error_elt.__str__ (   self  ) 
Convert a base_elt object to string format.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 343 of file publication.py.

def rpki.publication.report_error_elt.from_exception (   cls,
  e,
  tag = None 
)
Generate a <report_error/> element from an exception.

Definition at line 333 of file publication.py.

def rpki.publication.report_error_elt.raise_if_error (   self  ) 
Raise exception associated with this <report_error/> PDU.

Definition at line 352 of file publication.py.


Member Data Documentation

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 327 of file publication.py.

string rpki.publication.report_error_elt.element_name = "report_error" [static]

Definition at line 326 of file publication.py.

Definition at line 339 of file publication.py.

Definition at line 330 of file publication.py.

Definition at line 338 of file publication.py.

string rpki.publication.report_error_elt.text_attribute = "error_text" [static]

Name of the class attribute that holds the text value.

Reimplemented from rpki.xml_utils.text_elt.

Definition at line 328 of file publication.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables
Generated on Wed May 12 19:43:50 2010 for RPKI Engine by  doxygen 1.6.3