/// <summary>
 /// Creates an exception from an enumeration value.
 /// </summary>
 /// <param name="value"></param>
 public UnexpectedValueException( Enum value )
     : base(getMessage( value.GetType().Name, value.ToEnglish() ))
 {
 }