public class ValidationFailedException extends OpenEJBException implements ValidationResults
Constructor and Description |
---|
ValidationFailedException(java.lang.String message,
ValidationResults set) |
ValidationFailedException(java.lang.String message,
ValidationResults set,
ValidationFailedException e) |
Modifier and Type | Method and Description |
---|---|
ValidationError[] |
getErrors() |
ValidationFailure[] |
getFailures() |
java.lang.String |
getModuleType() |
java.lang.String |
getName() |
ValidationWarning[] |
getWarnings() |
boolean |
hasErrors() |
boolean |
hasFailures() |
boolean |
hasWarnings() |
getMessage, getRootCause
public ValidationFailedException(java.lang.String message, ValidationResults set)
public ValidationFailedException(java.lang.String message, ValidationResults set, ValidationFailedException e)
public java.lang.String getName()
getName
in interface ValidationResults
public ValidationError[] getErrors()
getErrors
in interface ValidationResults
public ValidationFailure[] getFailures()
getFailures
in interface ValidationResults
public ValidationWarning[] getWarnings()
getWarnings
in interface ValidationResults
public boolean hasWarnings()
hasWarnings
in interface ValidationResults
public boolean hasFailures()
hasFailures
in interface ValidationResults
public boolean hasErrors()
hasErrors
in interface ValidationResults
public java.lang.String getModuleType()
getModuleType
in interface ValidationResults