@@ -36,4 +36,6 @@ enum Exception {
UnknowResponse(r:String);
BadResponse(r:String);
ImapFetchError(id:Int);
+
+ ParseError(s:String);
}
@@ -135,8 +135,8 @@ class ImapEnvelope {
var bs = b.toString();
if( bs == "NIL" )
addElement( null );
- //else
- //throw ParseError(bs);
+ else
+ throw ParseError(bs);
ret.__length = p;