org.modeldriven.fuml.xmi.validation
Class ValidationError
java.lang.Object
org.modeldriven.fuml.xmi.validation.ValidationError
public class ValidationError
- extends Object
Contains detailed error information sufficient for generation of formatted, informative
error messages for use in simple logging as well as web displays. Errors are categorized and have
a associated severity as well as source information including element and location
information.
- Author:
- Scott Cinnamond
ValidationError
public ValidationError(XmiNode node,
ErrorCode code,
ErrorSeverity severity)
ValidationError
public ValidationError(XmiNode node,
String propertyName,
ErrorCode code,
ErrorSeverity severity)
ValidationError
public ValidationError(XmiReference reference,
String id,
ErrorCode code,
ErrorSeverity severity)
getSeverity
public ErrorSeverity getSeverity()
getCode
public ErrorCode getCode()
getCodeText
public String getCodeText()
getLocationText
public String getLocationText()
getCategory
public ErrorCategory getCategory()
getCategoryText
public String getCategoryText()
getText
public String getText()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.