Exception CommunicationError

Exceptions of the type CommunicationError are raised if no connection can be made to the DBM Server, or if an existing connection has been broken.

They have the following format:

Communication Error: $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 DBM Server to which you are trying to connect does not exist:

eval { $session = new DBM ('unknownhost', '');}
if ($@) {
    print "$@\n";


Communication Error: unknown host name