| com.metaboss.sdlctools.models.ModelRepositoryException com.metaboss.sdlctools.models.ModelValidationException
ModelValidationException | public class ModelValidationException extends ModelRepositoryException (Code) | | Specialised exception, which is thrown when model validation has failed
|
ModelValidationException | public ModelValidationException(JmiException pConstraintValidationException)(Code) | | Constructs ModelValidationException object which carries single validation exception
|
ModelValidationException | public ModelValidationException(JmiException[] pConstraintValidationExceptions)(Code) | | Constructs ModelValidationException object which carries a number of validation exceptions
|
ModelValidationException | public ModelValidationException(String pMessage, JmiException pConstraintValidationException)(Code) | | Constructs ModelValidationException object which carries single validation exception and a message
|
ModelValidationException | public ModelValidationException(String pMessage, JmiException[] pConstraintValidationExceptions)(Code) | | Constructs ModelValidationException object which carries an array of validation exceptions and a message
|
getErrorExplanation | public String getErrorExplanation(int pErrorIndex)(Code) | | Returns string with full explanation of an error at the particular index
|
getErrorMessage | public String getErrorMessage(int pErrorIndex)(Code) | | Returns string with short error message from the error at the particular index
as it was reported by the validation process. This excludes all additional bits (error element, model element, reported by etc...)
|
getErrorModelElementRef | public String getErrorModelElementRef(int pErrorIndex)(Code) | | Returns string with the errorneous MetaBoss model element reference at the particular index.
May return null if this error does not describe MetaBoss model element or
error just does not specify a particular model element at all
|
getErrorModelElementRepositoryId | public String getErrorModelElementRepositoryId(int pErrorIndex)(Code) | | Returns string with the errorneous model element repository id at the particular index.
May return null if this error does not specify a particular model element at all
|
getFullExplanation | public String getFullExplanation()(Code) | | Returns string with explanation of all failures
|
getNumberOfErrors | public int getNumberOfErrors()(Code) | | Returns number of separate model validation errors which have occurred
|
|
|