2
0
Pascal Peridont 19 жил өмнө
parent
commit
ff7faaf2e6

+ 2 - 0
std/mtwin/mail/Exception.hx

@@ -36,4 +36,6 @@ enum Exception {
 	UnknowResponse(r:String);
 	BadResponse(r:String);
 	ImapFetchError(id:Int);
+
+	ParseError(s:String);
 }

+ 2 - 2
std/mtwin/mail/ImapEnvelope.hx

@@ -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;