1 12 package org.displaytag.exception; 13 14 import org.apache.commons.lang.enums.Enum; 15 16 17 22 public final class SeverityEnum extends Enum 23 { 24 25 28 public static final SeverityEnum FATAL = new SeverityEnum("fatal"); 30 33 public static final SeverityEnum ERROR = new SeverityEnum("error"); 35 38 public static final SeverityEnum WARN = new SeverityEnum("warn"); 40 43 public static final SeverityEnum INFO = new SeverityEnum("info"); 45 48 public static final SeverityEnum DEBUG = new SeverityEnum("debug"); 50 53 private static final long serialVersionUID = 899149338534L; 54 55 59 private SeverityEnum(String severity) 60 { 61 super(severity); 62 } 63 64 } | Popular Tags |