#include <NetworkError.h>
Inheritance diagram for Net::NetworkError:
Public Member Functions | |
NetworkError (String *message=nil, const char *selector=nil, Object *param=nil) | |
virtual String * | className () |
Answer receiver class name. | |
virtual String * | notifierString () |
Protected Member Functions | |
virtual void | privRaise (void) |
This method really throws the receiver as an exception. |
|
Definition at line 35 of file NetworkError.h.
|
|
Answer receiver class name. Because there isn't any standard way to obtain class name this method comes to place. Every class should rewrite this method but many didn't (yet). Reimplemented from Core::Error. Reimplemented in Net::UnknownHostError. Definition at line 40 of file NetworkError.h. 00041 { 00042 return new String("NetworkError"); 00043 }
|
|
Reimplemented from Core::Error. Reimplemented in Net::UnknownHostError. Definition at line 45 of file NetworkError.h. 00046 { 00047 return new String("Error on network occured."); 00048 }
|
|
This method really throws the receiver as an exception. Every subclass MUST reimplement this method, even if it's parent does. This is because of poor object type handling in C++. :-( Reimplemented from Core::Error. Reimplemented in Net::UnknownHostError. Definition at line 52 of file NetworkError.h. 00053 { throw this; }
|