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.

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 320 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 342 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 332 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 351 of file publication.py.


Member Data Documentation

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 326 of file publication.py.

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

Definition at line 325 of file publication.py.

Definition at line 338 of file publication.py.

Definition at line 329 of file publication.py.

Definition at line 337 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 327 of file publication.py.


The documentation for this class was generated from the following file:

Generated on Tue Jan 12 07:56:02 2010 for RPKI Engine by  doxygen 1.6.1