|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception ro.sync.ecss.extensions.api.InvalidEditException
public class InvalidEditException
Exception thrown by AuthorSchemaAwareEditingHandler
methods when an edit is considered invalid and must be rejected.
Constructor Summary | |
---|---|
InvalidEditException(java.lang.String title,
java.lang.String description,
boolean presentToUser)
Constructor. |
|
InvalidEditException(java.lang.String title,
java.lang.String description,
boolean presentToUser,
boolean showLinkToSchemaAwarePreferences)
Constructor. |
|
InvalidEditException(java.lang.String title,
java.lang.String description,
java.lang.Throwable cause,
boolean presentToUser)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getHtmlMessage()
|
java.lang.String |
getTitle()
|
boolean |
isPresentToUser()
|
boolean |
isShowLinkToSchemaAwarePreferences()
|
void |
setHtmlMessage(java.lang.String htmlMessage)
|
void |
setPresentToUser(boolean presentToUser)
Choose not to present the exception to the user. |
void |
setShowLinkToSchemaAwarePreferences(boolean showLinkToSchemaAwarePreferences)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvalidEditException(java.lang.String title, java.lang.String description, boolean presentToUser, boolean showLinkToSchemaAwarePreferences)
title
- Title to be presented to the user.description
- Error message.presentToUser
- true
if the error message must be presented to the user.showLinkToSchemaAwarePreferences
- If true
when the error message is presented to the user a link
to the Schema Aware preference page will be added.public InvalidEditException(java.lang.String title, java.lang.String description, boolean presentToUser)
title
- Title to be presented to the user.description
- Error message.presentToUser
- true
if the error message must be presented to the user.public InvalidEditException(java.lang.String title, java.lang.String description, java.lang.Throwable cause, boolean presentToUser)
title
- Title to be presented to the user.description
- Error message.cause
- The exception cause. A null value is
permitted, and indicates that the cause is nonexistent or
unknown.presentToUser
- true
if the error message must be presented to the user.Method Detail |
---|
public boolean isPresentToUser()
true
if the error message should be presented to the user.public java.lang.String getTitle()
public void setHtmlMessage(java.lang.String htmlMessage)
htmlMessage
- An error message that uses HTML elements for styling.public java.lang.String getHtmlMessage()
null
if a styled message is
not available.public void setShowLinkToSchemaAwarePreferences(boolean showLinkToSchemaAwarePreferences)
showLinkToSchemaAwarePreferences
- The showLinkToSchemaAwarePreferences to set.public boolean isShowLinkToSchemaAwarePreferences()
public void setPresentToUser(boolean presentToUser)
presentToUser
- The presentToUser to set.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |