org.hibernate.validator.internal.engine.constraintvalidation

## Class ConstraintViolationCreationContext

- java.lang.Object
- - org.hibernate.validator.internal.engine.constraintvalidation.ConstraintViolationCreationContext

-     public class ConstraintViolationCreationContext
      extends Object

  Container class for the information needed to create a constraint violation.
  Author:
    Hardy Ferentschik

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstraintViolationCreationContext(String message, Path property)`
    `ConstraintViolationCreationContext(String message, Path property, Map<String,Object> expressionVariables)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `getExpressionVariables()`
    `String` | `getMessage()`
    `Path` | `getPath()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ConstraintViolationCreationContext

          public ConstraintViolationCreationContext(String message,
                                            Path property)

    - #### ConstraintViolationCreationContext

          public ConstraintViolationCreationContext(String message,
                                            Path property,
                                            Map<String,Object> expressionVariables)

  - ### Method Detail

    - #### getMessage

          public final String getMessage()

    - #### getPath

          public final Path getPath()

    - #### getExpressionVariables

          public Map<String,Object> getExpressionVariables()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved