Skip to content

Commit

Permalink
single validation error added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Jun 8, 2012
1 parent ce6b363 commit 835a63c
Showing 1 changed file with 21 additions and 0 deletions.
Expand Up @@ -7,4 +7,25 @@
*
*/
public class ValidationException extends Exception {

private String key;
private String value;
private String errorCode;

/**
*
*/
public ValidationException(String key, String value, String errorCode) {
this.key = key;
this.value = value;
this.errorCode = errorCode;
}

/**
* @see
*/
@Override
public String getMessage() {
return key + ", " + value + ", " + errorCode;
}
}

0 comments on commit 835a63c

Please sign in to comment.