Project

General

Profile

« Previous | Next » 

Revision 8534

Added by Jing Tao almost 11 years ago

Add the code to handle a runtime exception.

View differences:

src/edu/ucsb/nceas/metacat/admin/AuthAdmin.java
287 287
        } catch (ClassNotFoundException e) {
288 288
            errorVector.add("AuthAdmin.validateOptions - ClassNotFoundException : "
289 289
                  + e.getMessage());
290
        } catch (Exception e) {
291
            errorVector.add("AuthAdmin.validateOptions - An exception : "+e.getMessage());
290 292
        }
291 293

  
292 294
		return errorVector;

Also available in: Unified diff