4A Server -
2.0
|
Exception of DocumentUpdate class which is thrown in case of modification failure. More...
Public Member Functions | |
ArrayList< TextModification > | getReverseModifications () |
void | setErrorMessage (String msg) |
String | getErrorMessage () |
void | setResyncFlag (boolean flag) |
boolean | getResyncFlag () |
Integer | getErrorCode () |
void | setErrorCode (Integer errorCode) |
Private Member Functions | |
void | addReverseModifications (ArrayList< TextModification > tm) |
Private Attributes | |
ArrayList< TextModification > | reverseModifications = new ArrayList<TextModification>() |
String | errorMessage |
boolean | resyncFlag |
Integer | errorCode |
Exception of DocumentUpdate class which is thrown in case of modification failure.
Exception of DocumentUpdate class which is thrown in case of modification failure
Contains list of reverse modifications of failed modifications
Definition at line 52 of file DocumentUpdate.java.
|
private |
Adds reverse modification into array
tm | Reverse modification |
Definition at line 67 of file DocumentUpdate.java.
Integer cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getErrorCode | ( | ) |
Gets error code
Definition at line 121 of file DocumentUpdate.java.
String cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getErrorMessage | ( | ) |
Gets error message
Definition at line 94 of file DocumentUpdate.java.
boolean cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getResyncFlag | ( | ) |
Gets flag for resynchronization
Definition at line 112 of file DocumentUpdate.java.
ArrayList<TextModification> cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getReverseModifications | ( | ) |
Gets array of reverse modification
Definition at line 76 of file DocumentUpdate.java.
void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setErrorCode | ( | Integer | errorCode | ) |
void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setErrorMessage | ( | String | msg | ) |
void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setResyncFlag | ( | boolean | flag | ) |
Sets flag for resynchronization
flag | Flag for resynchronization |
Definition at line 103 of file DocumentUpdate.java.
|
private |
Error code
Definition at line 60 of file DocumentUpdate.java.
|
private |
Error message
Definition at line 56 of file DocumentUpdate.java.
|
private |
Flag for resynchronization
Definition at line 58 of file DocumentUpdate.java.
|
private |
Array of reverse modifications to reverse failed
Definition at line 54 of file DocumentUpdate.java.