Added jobFail state
authorjprocter <Jim Procter>
Fri, 27 May 2005 15:03:26 +0000 (15:03 +0000)
committerjprocter <Jim Procter>
Fri, 27 May 2005 15:03:26 +0000 (15:03 +0000)
src/jalview/gui/WebserviceInfo.java

index a7d7fa1..82350d1 100755 (executable)
@@ -13,6 +13,7 @@ public class WebserviceInfo extends GWebserviceInfo
   public static final int STATE_STOPPED_OK = 2;\r
   public static final int STATE_CANCELLED_OK = 3;\r
   public static final int STATE_STOPPED_ERROR = 4;\r
+  public static final int STATE_STOPPED_SERVERERROR = 5;\r
   int currentStatus = STATE_QUEUING;\r
   Image image;\r
   int angle = 0;\r
@@ -154,7 +155,10 @@ public class WebserviceInfo extends GWebserviceInfo
           break;\r
 \r
         case STATE_STOPPED_ERROR:\r
-          g.drawString(title.concat(" - error!"), 60, 30);\r
+          g.drawString(title.concat(" - job error!"), 60, 30);\r
+          break;\r
+        case STATE_STOPPED_SERVERERROR:\r
+          g.drawString(title.concat(" - Server Error! (try later)"), 60, 30);\r
           break;\r
       }\r
 \r