/** {@inheritDoc} */
 @Override
 public String getMessage() {
   if (result == null) {
     return super.getMessage();
   } else {
     return result.getMessage();
   }
 }
 /**
  * Helper method to raise a ValidatorException given a single error msg
  *
  * @param key the msg key
  * @param args the args that go with the key.
  */
 public static void raiseException(String key, Object... args) {
   ValidatorResult valResult = new ValidatorResult();
   valResult.addError(key, args);
   throw new ValidatorException(valResult);
 }