Subversion Repositories DevTools

Rev

Rev 924 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 924 Rev 930
Line 241... Line 241...
241
      {
241
      {
242
        mLogger.warn("run InterruptedException");
242
        mLogger.warn("run InterruptedException");
243
      }
243
      }
244
      catch( Exception e )
244
      catch( Exception e )
245
      {
245
      {
246
        mLogger.error("run indefinitePause");
246
        mLogger.error("run indefinitePause " + e.toString());
247
        String cause = e.getMessage();
247
        String cause = e.getMessage();
248
        
-
 
249
        if ( cause != null )
248
        if ( cause == null )
250
        {
249
        {
-
 
250
          cause = e.toString();
-
 
251
        }
-
 
252
                
251
          try
253
          try
252
          {
254
          {
253
            // notify first
255
            // notify first
254
            // many reasons for indefinite pause, including database related, so do database last
256
            // many reasons for indefinite pause, including database related, so do database last
255
            mRecoverable = false;
257
            mRecoverable = false;
Line 269... Line 271...
269
            mLogger.error("run indefinitePause failed");
271
            mLogger.error("run indefinitePause failed");
270
          }
272
          }
271
        }
273
        }
272
      }
274
      }
273
    }
275
    }
274
  }
-
 
275
 
276
 
276
  /**returns 'S'
277
  /**returns 'S'
277
   */
278
   */
278
  protected char getMode()
279
  protected char getMode()
279
  {
280
  {