org.springframework.binding.message
Class Severity

java.lang.Object
  extended by org.springframework.core.enums.AbstractLabeledEnum
      extended by org.springframework.core.enums.StaticLabeledEnum
          extended by org.springframework.binding.message.Severity
All Implemented Interfaces:
Serializable, Comparable, org.springframework.core.enums.LabeledEnum

public class Severity
extends org.springframework.core.enums.StaticLabeledEnum

Enum exposing supported message severities.

Author:
Keith Donald, Jeremy Grelle
See Also:
Message, Serialized Form

Field Summary
static Severity ERROR
          The "Error" severity.
static Severity FATAL
          The "Fatal" severity.
static Severity INFO
          The "Informational" severity.
static Severity WARNING
          The "Warning" severity.
 
Fields inherited from interface org.springframework.core.enums.LabeledEnum
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER
 
Method Summary
 
Methods inherited from class org.springframework.core.enums.StaticLabeledEnum
getCode, getLabel, shortValue
 
Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum
compareTo, equals, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INFO

public static final Severity INFO
The "Informational" severity. Used to indicate a successful operation or result.


WARNING

public static final Severity WARNING
The "Warning" severity. Used to indicate there is a minor problem, or to inform the message receiver of possible misuse, or to indicate a problem may arise in the future.


ERROR

public static final Severity ERROR
The "Error" severity. Used to indicate a significant problem like a business rule violation.


FATAL

public static final Severity FATAL
The "Fatal" severity. Used to indicate a fatal problem like a system error.