Package 

Class ErrorMessage


  • 
    public final class ErrorMessage
    
                        

    A human-readable error message, describing a validation constraint violation.

    The error message can contain dynamic references to values in the generated code. If such references are present, they are inserted into the message via the plus (+) operator.

    If the target language uses a different way of concatenating strings (e.g. dots in PHP, etc.), or if it defines string literals in another way rather than enclosing them in quotation marks, renderers for such a language mustn't use this class and instead compile the error message on their own.

    • Method Summary

      Modifier and Type Method Description
      String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait