|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.error.AbstractError
com.jaxfront.core.error.UserError
public class UserError
This class represents a ValidationError. ValidationErrors occur, if any value changes of the JAXFront DOM are not conform with the rules defined in the XUI document.
Field Summary |
---|
Fields inherited from class com.jaxfront.core.error.AbstractError |
---|
ALL_ERROR, CONDITIONAL_ERROR, USER_ERROR, VALIDATION_ERROR |
Fields inherited from interface com.jaxfront.core.error.Error |
---|
CLASSIFICATION_ERROR, CLASSIFICATION_HINT, CLASSIFICATION_INCOMPLETE, CLASSIFICATION_INFO, CLASSIFICATION_QUESTION, CLASSIFICATION_WARNING |
Constructor Summary | |
---|---|
UserError(java.lang.Object identifierObject,
Type source)
|
|
UserError(java.lang.Object identifierObject,
Type source,
java.lang.String messageText,
java.lang.String classification)
|
|
UserError(Type source,
java.lang.Object identifierObject,
java.lang.String messageText,
boolean needingUserAcceptance,
boolean showDialog,
boolean isMandatoryException,
java.lang.String classification)
|
Method Summary | |
---|---|
java.lang.String |
getClassification()
Returns the classification type of this error. |
int |
getErrorType()
|
java.lang.String |
getMessageClassificationForIcon()
Returns the message classification for a icon. |
java.lang.String |
getMessageText()
Returns the message text from the validation exception. |
boolean |
isNeedingUserAcceptance()
Returns if the current ValidationError needs user acceptance to resolve it. |
boolean |
isShowingDialog()
Returns true if the error should be shown in a dialog. |
Methods inherited from class com.jaxfront.core.error.AbstractError |
---|
equals, getErrorHolder, getHolderXPath, getMessageClassification, getMessageContext, getMessageContextIcon, getMessageIcon, getRaiser, getUniqueIdentification, isCardinalityError, isMandatoryError, markError, release, resetError, setFocus, setRaiser, shouldMarkError, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserError(java.lang.Object identifierObject, Type source)
ex
- source
- public UserError(java.lang.Object identifierObject, Type source, java.lang.String messageText, java.lang.String classification)
public UserError(Type source, java.lang.Object identifierObject, java.lang.String messageText, boolean needingUserAcceptance, boolean showDialog, boolean isMandatoryException, java.lang.String classification)
Method Detail |
---|
public java.lang.String getMessageClassificationForIcon()
AbstractError
getMessageClassificationForIcon
in class AbstractError
public java.lang.String getClassification()
AbstractError
getClassification
in interface Error
getClassification
in class AbstractError
public boolean isNeedingUserAcceptance()
Error
public java.lang.String getMessageText()
Error
public boolean isShowingDialog()
Error
public int getErrorType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |