001 package edu.nrao.sss.validation; 002 003 /** 004 * An indication of how severe a {@link ValidationFailure} is. 005 * <p> 006 * <b>Version Info:</b> 007 * <table style="margin-left:2em"> 008 * <tr><td>$Revision: 329 $</td></tr> 009 * <tr><td>$Date: 2007-02-06 11:43:05 -0700 (Tue, 06 Feb 2007) $</td></tr> 010 * <tr><td>$Author: dharland $</td></tr> 011 * </table></p> 012 * 013 * @author David M. Harland 014 * @since 2007-02-02 015 */ 016 public enum FailureSeverity 017 { 018 //Keep this list in order of severity. Internal algorithms depend upon this. 019 020 /** 021 * A severity level so high that it could cause an application to abort. 022 */ 023 FATAL, 024 025 /** 026 * A very high severity level that is likely to cause problems for an 027 * application. 028 */ 029 ERROR, 030 031 /** 032 * A severity level that indicates a potentially harmful situation. 033 */ 034 WARNING, 035 036 /** 037 * A moderate severity level that might allow an application to proceed 038 * with little or no trouble. 039 */ 040 CONCERN; 041 }