exception.network - Palamecia/mint GitHub Wiki
Module exception.network
Description
load exception.network
This module provides classes to store exception contexts raised by the network module.
Packages
Classes
Exception.SocketError
This class provides the context of an exception raised by a socket.
Inherits
Public members
| Modifiers | Member | Description |
|---|---|---|
const |
getDescription | Returns the error description. |
const |
getErrno | Returns the error identifier. |
const |
getHandle | Returns the file handle for the object that raised the error or none if not s... |
const |
getObject | Returns the object that raised the error or none if not specified. |
const |
new | Creates a new context. The object parameter is the object that raised the err... |
const |
toString | Returns the exception informations as a string. |
Private members
| Modifiers | Member | Description |
|---|---|---|
final % |
errno | Internal error identifier. |
@ const |
g_lib | Global library handle. |
final |
object | Internal involved object. |
Descriptions
Exception.SocketError.errno
none
Internal error identifier.
Exception.SocketError.g_lib
lib ('libmint-network')
Global library handle.
Exception.SocketError.getDescription
def (const self)
Returns the error description.
Exception.SocketError.getErrno
def (const self)
Returns the error identifier.
Exception.SocketError.getHandle
def (const self)
Returns the file handle for the object that raised the error or none if not specified.
Exception.SocketError.getObject
def (const self)
Returns the object that raised the error or none if not specified.
Exception.SocketError.new
def (self, object)
Creates a new context. The object parameter is the object that raised the error. It must provides a getHandle
method. The error is retrieved from this socket.
def (self, errno, object)
Creates a new context. The errno parameter must be an instance of
Exception.SystemError.Errno describing the error. The object parameter
is the object that raised the error. It must provides a getHandle method.
Exception.SocketError.object
none
Internal involved object.
Exception.SocketError.toString
def (const self)
Returns the exception informations as a string.