be.ehealth.business.mycarenetcommons.exception
Class ValidationError

java.lang.Object
  extended by be.ehealth.business.mycarenetcommons.exception.ValidationError

public class ValidationError
extends Object

contains a validation error on a certain location in the object tree.


Constructor Summary
ValidationError(String path, String description)
          makes ValidationError with its path and the description of the error.
 
Method Summary
 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 PERSDIETICIAN 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.