<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -36,6 +36,8 @@ int main(int argc, char** argv) {
     std::cout &lt;&lt; &quot;Runtime exception: &quot; &lt;&lt; e.what() &lt;&lt; std::endl;
   } catch(VMException *e) {
     std::cout &lt;&lt; &quot;Unknown VM exception detected.&quot; &lt;&lt; std::endl;
+  } catch(std::string e) {
+    std::cout &lt;&lt; e &lt;&lt; std::endl;
   } catch(...) {
     std::cout &lt;&lt; &quot;Unknown exception detected.&quot; &lt;&lt; std::endl;
   }</diff>
      <filename>vm/drivers/cli.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -223,7 +223,9 @@ namespace rubinius {
     case 'M':
       return get_cmethod();
     default:
-      throw &quot;unknown marshal code&quot;;
+      std::string str = &quot;unknown marshal code: &quot;;
+      str.append( 1, code );
+      throw str;
     }
   }
 </diff>
      <filename>vm/marshal.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>39b9ab5fafdae2238cd6147d4b5545719f510186</id>
    </parent>
  </parents>
  <author>
    <name>Dirkjan Bussink</name>
    <email>d.bussink@gmail.com</email>
  </author>
  <url>http://github.com/evanphx/rubinius/commit/f7c468db337b387c29d285fb486f7df3329d7a1e</url>
  <id>f7c468db337b387c29d285fb486f7df3329d7a1e</id>
  <committed-date>2008-05-21T15:14:23-07:00</committed-date>
  <authored-date>2008-05-21T15:14:23-07:00</authored-date>
  <message>Improve error message if an unknown code is found in a rbc file</message>
  <tree>f9ff9b4f3351ebcc7bbe99632b95856663e55e54</tree>
  <committer>
    <name>Dirkjan Bussink</name>
    <email>d.bussink@gmail.com</email>
  </committer>
</commit>
