#include <UnknownHostError.h>
Inheritance diagram for Net::UnknownHostError:
Public Member Functions | |
UnknownHostError (String *name, const char *selector=NULL) | |
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 UnknownHostError.h. References Core::GenericException::messageText. 00036 : NetworkError(nil, selector, name) 00037 { 00038 messageText = &dynamic_cast<String &>((*new String("Unknown host ")) + *name); 00039 }
|
|
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 Net::NetworkError. Definition at line 41 of file UnknownHostError.h. 00042 { 00043 return new String("UnknownHostError"); 00044 }
|
|
Reimplemented from Net::NetworkError. Definition at line 46 of file UnknownHostError.h. 00047 { 00048 return new String("DNS lookup failed or unknown host."); 00049 }
|
|
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 Net::NetworkError. Definition at line 53 of file UnknownHostError.h. 00054 { throw this; }
|