Package be.ehealth.business.mycarenetdomaincommons.exception

# Class ValidationError

java.lang.Object
be.ehealth.business.mycarenetdomaincommons.exception.ValidationError

public class ValidationError extends Object
contains a validation error on a certain location in the object tree.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ValidationError(String path, String description)`
  makes ValidationError with its path and the description of the error.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDescription()`
  `String`
  `getPath()`
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### ValidationError

    public ValidationError(String path, String description)
    makes ValidationError with its path and the description of the error.
    Parameters:
      `path` - String description of the path
      `description` - description of the validationerror

- ## Method Details

  - ### getPath

    public String getPath()
    Returns:
      the path

  - ### getDescription

    public String getDescription()
    Returns:
      the description

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`
    See Also:
      - `Object.toString()`