Public Types | |
enum | Type { BadFormat, BadNamespacePrefix, Conflict, ConnectionTimeout, HostGone, HostUnknown, ImproperAddressing, InternalServerError, InvalidFrom, InvalidID, InvalidNamespace, InvalidXML, NotAuthorized, NotWellFormed, PolicyViolation, RemoteConnectionFailed, Reset, ResourceConstraint, RestrictedXML, SeeOtherHost, SystemShutdown, UndefinedCondition, UnsupportedEncoding, UnsupportedStanzaType, UnsupportedVersion } |
typedef boost::shared_ptr < StreamError > | ref |
Public Member Functions | |
StreamError (Type type=UndefinedCondition, const std::string &text=std::string()) | |
Type | getType () const |
void | setType (Type type) |
void | setText (const std::string &text) |
const std::string & | getText () const |
Definition at line 15 of file StreamError.h.
typedef boost::shared_ptr<StreamError> Swift::StreamError::ref |
Definition at line 17 of file StreamError.h.
Definition at line 19 of file StreamError.h.
Swift::StreamError::StreamError | ( | Type | type = UndefinedCondition , |
|
const std::string & | text = std::string() | |||
) | [inline] |
Definition at line 47 of file StreamError.h.
const std::string& Swift::StreamError::getText | ( | ) | const [inline] |
Definition at line 61 of file StreamError.h.
Type Swift::StreamError::getType | ( | ) | const [inline] |
Definition at line 49 of file StreamError.h.
void Swift::StreamError::setText | ( | const std::string & | text | ) | [inline] |
Definition at line 57 of file StreamError.h.
void Swift::StreamError::setType | ( | Type | type | ) | [inline] |
Definition at line 53 of file StreamError.h.