Class MessageAndPath


  • public final class MessageAndPath
    extends Object
    Holds as Message and a Path.

    Used to build a ConstraintViolation

    • Constructor Detail

      • MessageAndPath

        public MessageAndPath​(javax.validation.Path path,
                              String message)
        constructor.
        Parameters:
        path - path of field
        message - error message
    • Method Detail

      • getMessage

        public String getMessage()
      • getPath

        public javax.validation.Path getPath()