Added another transient exception string to the list.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@135 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: MySQLRepository.java,v 1.5 2001/05/30 03:18:32 mdb Exp $
|
// $Id: MySQLRepository.java,v 1.6 2001/05/30 17:02:52 mdb Exp $
|
||||||
|
|
||||||
package com.samskivert.jdbc;
|
package com.samskivert.jdbc;
|
||||||
|
|
||||||
@@ -70,6 +70,7 @@ public abstract class MySQLRepository extends Repository
|
|||||||
String msg = sqe.getMessage();
|
String msg = sqe.getMessage();
|
||||||
return (msg != null &&
|
return (msg != null &&
|
||||||
(msg.indexOf("Lost connection") != -1 ||
|
(msg.indexOf("Lost connection") != -1 ||
|
||||||
msg.indexOf("Communication link failure") != -1));
|
msg.indexOf("Communication link failure") != -1 ||
|
||||||
|
msg.indexOf("Broken pipe") != -1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user