public class ValidationResult extends Object
| Constructor and Description |
|---|
ValidationResult() |
ValidationResult(Throwable exc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(String msg) |
void |
addMessages(List<String> msgs) |
void |
encounteredError() |
static ValidationResult |
fromException(Throwable exc) |
Throwable |
getExc() |
List<String> |
getMessages() |
boolean |
hasError() |
public ValidationResult()
public ValidationResult(Throwable exc)
public static ValidationResult fromException(Throwable exc)
public boolean hasError()
public void encounteredError()
public Throwable getExc()
public void addMessage(String msg)
Copyright © 2016. All rights reserved.