org.modeldriven.fuml.xmi.validation
Class ValidationError
java.lang.Object
org.modeldriven.fuml.xmi.validation.ValidationError
public class ValidationError
- extends java.lang.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValidationError
public ValidationError(XmiNode node,
ErrorCode code,
ErrorSeverity severity)
ValidationError
public ValidationError(XmiNode node,
java.lang.String propertyName,
ErrorCode code,
ErrorSeverity severity)
ValidationError
public ValidationError(XmiReference reference,
java.lang.String id,
ErrorCode code,
ErrorSeverity severity)
getSeverity
public ErrorSeverity getSeverity()
getCode
public ErrorCode getCode()
getCodeText
public java.lang.String getCodeText()
getLocationText
public java.lang.String getLocationText()
getCategory
public ErrorCategory getCategory()
getCategoryText
public java.lang.String getCategoryText()
getText
public java.lang.String getText()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2015. All Rights Reserved.