Updated for building with the latest version of the Exception class which
does not include two-argument constructor any more.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@338 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/RfbProto.cxx b/rfbplayer/RfbProto.cxx
index add2096..5a7ff7f 100644
--- a/rfbplayer/RfbProto.cxx
+++ b/rfbplayer/RfbProto.cxx
@@ -89,7 +89,7 @@
   bool done;
   if (!cp.readVersion(is, &done)) {
     state_ = RFBSTATE_INVALID;
-    throw rfb::Exception("reading version failed: wrong file format?", "RfbPlayer");
+    throw rfb::Exception("reading version failed: wrong file format?");
   }
   if (!done) return;
 
@@ -99,7 +99,7 @@
     sprintf(msg,"File have unsupported RFB protocol version %d.%d",
             cp.majorVersion, cp.minorVersion);
     state_ = RFBSTATE_INVALID;
-    throw rfb::Exception(msg, "RfbPlayer Error");
+    throw rfb::Exception(msg);
   }
 
   state_ = RFBSTATE_SECURITY;
@@ -120,12 +120,11 @@
     int reasonLen = is->readU32();
     char *reason = new char[reasonLen];
     is->readBytes(reason, reasonLen);
-    throw rfb::Exception(reason, "RfbPlayer"); 
+    throw rfb::Exception(reason); 
   }
 
   if (secType != secTypeNone) {
-    throw rfb::Exception("Wrong authentication type in the session file", 
-                         "RfbPlayer Error");
+    throw rfb::Exception("Wrong authentication type in the session file");
   }
 
   state_ = RFBSTATE_INITIALISATION;