Package onep :: Package core :: Package exception :: Module OnepConnectionException :: Class OnepConnectionException
[frames] | no frames]

Class OnepConnectionException


The exception is thrown to indicate that error has occurred when trying to connect to a network element.

Instance Methods
 
__init__(self, arg_string=None, arg_cause=None)
Constructor for the OnepConnectionException class.
 
get_default_message(self)
Get the default message of the exception.

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, arg_string=None, arg_cause=None)
(Constructor)

 

Constructor for the OnepConnectionException class.

Default constructor. Constructs a new exception with default message as its detail message. If additional parameters are passed then those parameters will be displayed as part of error message depending on its type

Parameters: arg_string: This is the error message. arg_cause : This is the class object which has more information regarding the issue.

Overrides: object.__init__

get_default_message(self)

 

Get the default message of the exception. This method is for internal use only.

@return the defaultMessage