RPKI Engine  1.0
Public Member Functions | Public Attributes | Static Public Attributes
rpki::publication::report_error_elt Class Reference
Inheritance diagram for rpki::publication::report_error_elt:
Inheritance graph
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 315 of file publication.py.


Member Function Documentation

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

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

References error_code, and rpki::left_right::report_error_elt::error_code.


Member Data Documentation

XML attributes for this element.

Reimplemented from rpki::xml_utils::base_elt.

Definition at line 321 of file publication.py.

Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::base_elt::make_elt(), and rpki::xml_utils::base_elt::read_attrs().

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

Definition at line 329 of file publication.py.

Referenced by __str__(), and raise_if_error().

Definition at line 324 of file publication.py.

Referenced by __str__().

Name of the class attribute that holds the text value.

Reimplemented from rpki::xml_utils::text_elt.

Definition at line 322 of file publication.py.

Referenced by rpki::xml_utils::text_elt::endElement(), and rpki::xml_utils::text_elt::toXML().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties