4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException Class Reference

Exception of DocumentUpdate class which is thrown in case of modification failure. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException:
Collaboration graph

Public Member Functions

ArrayList< TextModificationgetReverseModifications ()
 
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< TextModificationreverseModifications = new ArrayList<TextModification>()
 
String errorMessage
 
boolean resyncFlag
 
Integer errorCode
 

Detailed Description

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.

Member Function Documentation

void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.addReverseModifications ( ArrayList< TextModification tm)
private

Adds reverse modification into array

Parameters
tmReverse modification

Definition at line 67 of file DocumentUpdate.java.

Integer cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getErrorCode ( )

Gets error code

Returns
Returns error code

Definition at line 121 of file DocumentUpdate.java.

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getErrorMessage ( )

Gets error message

Returns
Returns error message

Definition at line 94 of file DocumentUpdate.java.

Here is the caller graph for this function:

boolean cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getResyncFlag ( )

Gets flag for resynchronization

Returns
Returns flag for resynchronization

Definition at line 112 of file DocumentUpdate.java.

Here is the caller graph for this function:

ArrayList<TextModification> cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.getReverseModifications ( )

Gets array of reverse modification

Returns
Returns array of reverse modifications

Definition at line 76 of file DocumentUpdate.java.

void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setErrorCode ( Integer  errorCode)

Sets error code

Parameters
errorCodeError code

Definition at line 130 of file DocumentUpdate.java.

void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setErrorMessage ( String  msg)

Sets error message

Parameters
msgError message

Definition at line 85 of file DocumentUpdate.java.

void cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.setResyncFlag ( boolean  flag)

Sets flag for resynchronization

Parameters
flagFlag for resynchronization

Definition at line 103 of file DocumentUpdate.java.

Member Data Documentation

Integer cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.errorCode
private

Error code

Definition at line 60 of file DocumentUpdate.java.

String cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.errorMessage
private

Error message

Definition at line 56 of file DocumentUpdate.java.

boolean cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.resyncFlag
private

Flag for resynchronization

Definition at line 58 of file DocumentUpdate.java.

ArrayList<TextModification> cz.vutbr.fit.knot.annotations.document.DocumentUpdate.DocumentUpdateException.reverseModifications = new ArrayList<TextModification>()
private

Array of reverse modifications to reverse failed

Definition at line 54 of file DocumentUpdate.java.


The documentation for this class was generated from the following file: