SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND


Platform::Net
Class NetworkException

ThrowableType
   |
   +-Exception
        |
        +-IOException
             |
             +-NetworkException

Implemented in:
Platform.Net.h
Direct Known Subclasses:
InvalidSocketHandleException

class NetworkException:
public IOException

Represents a general network error.

Field Summarycollapse
protected Long socketHandle
          Specifies the handle of the socket which caused the exception to be thrown.

Fields inherited from class Exceptioncollapse
errorMessage

Constructor Summarycollapse
NetworkException(Int code, const String& message, Long handle)
          Creates a network exception with the specified error code, message and socket handle.

Method Summarycollapse
String toString() const
          Returns a string representation of this exception.

Methods inherited from class Exceptioncollapse
message, toString

 

Field Detail

socketHandle

protected Long socketHandle

Specifies the handle of the socket which caused the exception to be thrown.

 

Constructor Detail

NetworkException[inline]

NetworkException(Int code, const String& message, Long handle)

Creates a network exception with the specified error code, message and socket handle.

Parameters:
code - error code
message - error message
handle - socket handle

 

Method Detail

toString[virtual, inline]

String toString() const

Returns a string representation of this exception. The format of the string is: message, socket.

Returns:
a string representation of this exception
Overrides:
Exception::toString


SUMMARY:  INNER | FIELD | CONSTR | METHOD | FRIEND DETAIL:  FIELD | CONSTR | METHOD | FRIEND