@java.lang.SuppressWarnings("unused") public class ValidationError extends BaseArtifactException
ValidationError - used to track information about validation errors. This extends the BaseException and has additional information about the field that had the error, etc. This is not generally thrown all the way up to the user and is instead added to a list of validation errors as things are running, and then all of them can be shown in context of the fields with the errors.
Modifiers | Name | Description |
---|---|---|
protected java.lang.String |
field |
|
protected java.lang.String |
form |
|
protected java.lang.String |
serviceName |
Constructor and description |
---|
ValidationError
(java.lang.String field, java.lang.String message, java.lang.Throwable nested) |
ValidationError
(java.lang.String form, java.lang.String field, java.lang.String serviceName, java.lang.String message, java.lang.Throwable nested) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getField() |
|
public java.lang.String |
getFieldPretty() |
|
public java.lang.String |
getForm() |
|
public java.lang.String |
getFormPretty() |
|
public java.util.Map<java.lang.String, java.lang.String> |
getMap() |
|
public java.lang.String |
getServiceName() |
|
public java.lang.String |
getServiceNamePretty() |
|
public java.lang.String |
toStringPretty() |
Methods inherited from class | Name |
---|---|
class BaseArtifactException |
getArtifactStack, getStackTrace, printStackTrace, printStackTrace, printStackTrace |
class BaseException |
filterStackTrace, filterStackTrace, getStackTrace, printStackTrace, printStackTrace, printStackTrace |