Enhance check for internal errors.

This commit is contained in:
Andreas Schildbach 2015-02-21 13:05:51 +01:00
parent 7937ca5fa1
commit c6861282f3
2 changed files with 16 additions and 1 deletions

View file

@ -332,7 +332,8 @@ public final class ParserUtils
return false;
}
private static final Pattern P_INTERNAL_ERROR = Pattern.compile(">\\s*(Server ein Fehler aufgetreten|Internal error in gateway)\\s*<");
private static final Pattern P_INTERNAL_ERROR = Pattern
.compile(">\\s*(Internal Error|Server ein Fehler aufgetreten|Internal error in gateway|VRN - Keine Verbindung zum Server m.glich)\\s*<");
public static boolean testInternalError(final String content)
{