Exceptions of the type
CommunicationError are raised if no connection can be made to the Loader
Server, or if an existing connection has been broken.
They have the following format:
Communication Error: $message
message |
Text of the error message |
You can determine the CommunicationError type of an exception by comparing it with the regular expression Communication Error: (.*).
The Loader Server to which you are trying to connect does not exist:
eval { $session = new
Loader ('unknownhost', '');}
if ($@) {
print "$@\n";
}
Output:
Communication Error: unknown host name