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 and Description
    `ValidationError(String path, String description)` makes ValidationError with its path and the description of the error.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDescription()`
    `String` | `getPath()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### 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 Detail

    - #### 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()`

Connector Packaging PHYSIOTHERAPIST 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.