|
LexCheck 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lexCheck.Lib.ErrMsg
public class ErrMsg
This class provides a class of handling error message for lexCheck.
History:
| Field Summary | |
|---|---|
static int |
ABBREVIATION_FILLER_ERR
error message: abbreviation filler error |
static int |
ABBREVIATION_SLOT_ERR
error message: abbreviation slot error |
static int |
ACRONYM_FILLER_ERR
error message: acronym slot filler error |
static int |
ACRONYM_SLOT_ERR
error message: acronym slot error |
static int |
ADJ_COMPL_FILLER_ERR
error message: adjective compelment filler error |
static int |
ADJ_COMPL_SLOT_ERR
error message: adjective complement slot error |
static int |
ADJ_NOMINALIZATION_FILLER_ERR
error message: adjective nominalization filler error |
static int |
ADJ_NOMINALIZATION_SLOT_ERR
error message: adjective nominalization slot error |
static int |
ADJ_POSITION_FILLER_ERR
error message: adjective position filler error |
static int |
ADJ_POSITION_SLOT_ERR
error message: adjective position slot error |
static int |
ADJ_STATIVE_SLOT_ERR
error message: adjective stative slot error |
static int |
ADJ_VAR_FILLER_ERR
error message: adjective variants filler error |
static int |
ADJ_VAR_SLOT_ERR
error message: adjective variants slot error |
static int |
ADV_BROAD_NEGATIVE_SLOT_ERR
error message: adverb broad negative slot error |
static int |
ADV_INTERROGATIVE_SLOT_ERR
error message: adverb interrogative slot error |
static int |
ADV_MODIFICATION_FILLER_ERR
error message: adverb modification filler error |
static int |
ADV_MODIFICATION_SLOT_ERR
error message: adverb modification slot error |
static int |
ADV_NEGATIVE_SLOT_ERR
error message: adverb negative slot error |
static int |
ADV_VAR_FILLER_ERR
error message: adverb variants filler error |
static int |
ADV_VAR_SLOT_ERR
error message: adverb variants slot error |
static int |
ANNOTATION_SLOT_ERR
error message: annotation slot error |
static int |
AUX_VAR_FILLER_ERR
error message: auxiliary variants filler error |
static int |
AUX_VAR_SLOT_ERR
error message: auxiliary variants slot error |
static int |
BASE_SLOT_ERR
error message: base slot eorror |
static int |
CAT_FILLER_ERR
error message: category filler error |
static int |
CAT_SLOT_ERR
error message: category slot error |
static int |
DET_DEMONSTRATIVE_SLOT_ERR
error message: determiner demonstrative slot error |
static int |
DET_INTERROGATIVE_SLOT_ERR
error message: determiner interrogative slot error |
static int |
DET_VAR_FILLER_ERR
error message: determiner variants filler error |
static int |
DET_VAR_SLOT_ERR
error message: determiner variants slot error |
static int |
DUPLICATE_SLOT_ERR
error message: suplicate slot error |
static int |
END_CODE_ERR
error message: end code error |
static int |
END_SLOT_ERR
error message: end slot error |
static int |
ENTRY_FILLER_ERR
error message: entry filler error |
static int |
ENTRY_SLOT_ERR
error message: entry slot error |
static int |
FILLER_BLANK_ERR
error message: filler blank error |
static int |
FILLER_FORMAT_ERR
error message: filler format error |
static int |
FILLER_START_CHAR_ERR
error message: filler starting char error |
static java.lang.String |
LS
line separator |
static int |
MODAL_VAR_FILLER_ERR
error message: modal variants filler error |
static int |
MODAL_VAR_SLOT_ERR
error message: modal variants slot error |
static int |
NONE
error message: none |
static int |
NOUN_COMPL_FILLER_ERR
error message: noun complement filler error |
static int |
NOUN_COMPL_SLOT_ERR
error message: none complement slot error |
static int |
NOUN_NOMINALIZATION_FILLER_ERR
error message: noun nominalization filler error |
static int |
NOUN_NOMINALIZATION_SLOT_ERR
error message: noun nominalization slot error |
static int |
NOUN_PROPER_SLOT_ERR
error message: noun proper slot error |
static int |
NOUN_TRADEMARK_FILLER_ERR
error message: noun trademark filler error |
static int |
NOUN_TRADEMARK_SLOT_ERR
error message: noun trademark slot error |
static int |
NOUN_TRADENAME_FILLER_ERR
error message: noun tradename filler error |
static int |
NOUN_TRADENAME_SLOT_ERR
error message: noun tradename slot error |
static int |
NOUN_VAR_FILLER_ERR
error message: noun variants filler error |
static int |
NOUN_VAR_SLOT_ERR
error message: noun variants slot error |
static int |
PRON_GENDER_FILLER_ERR
error message: pronoun gender filler error |
static int |
PRON_GENDER_SLOT_ERR
error message: pronoun gender slot error |
static int |
PRON_INTERROGATIVE_SLOT_ERR
error message: pronoun interrogative slot error |
static int |
PRON_TYPE_FILLER_ERR
error message: pronoun type filler error |
static int |
PRON_TYPE_SLOT_ERR
error message: pronoun type slot error |
static int |
PRON_VAR_FILLER_ERR
error message: pronoun variant filler error |
static int |
PRON_VAR_SLOT_ERR
error message: pronoun variant slot error |
static int |
SIGNATURE_SLOT_ERR
error message: signature slot error |
static int |
SLOT_FILLER_ERR
error message: slot filler error |
static int |
SLOT_FILLER_NUMBER_ERR
error message: slot fillernumber error |
static int |
SLOT_NUMBER_ERR
error message: slot number error |
static int |
SPELLING_VAR_SLOT_ERR
error message: spelling variant slot error |
static int |
TAB_ERR
error message: tab error |
static int |
VARIANTS_ERR
error message: variants error |
static int |
VARIANTS_FORMAT_ERR
error message: variants format error |
static int |
VERB_COMPL_NUM_ERR
error message: verb complement number error |
static int |
VERB_CPLXTRAN_FILLER_ERR
error message: verb complex transitive filler error |
static int |
VERB_CPLXTRAN_SLOT_ERR
error message: verb complex transitive slot error |
static int |
VERB_DITRAN_FILLER_ERR
error message: verb ditransitive filler error |
static int |
VERB_DITRAN_SLOT_ERR
error message: verb ditransitive slot error |
static int |
VERB_INTRAN_FILLER_ERR
error message: verb intransitive filler error |
static int |
VERB_INTRAN_SLOT_ERR
error message: verb intransitive slot error |
static int |
VERB_INTRAN2_FILLER_ERR
error message: verb intransitive filler error |
static int |
VERB_INTRAN2_SLOT_ERR
error message: verb intransitive slot error |
static int |
VERB_LINK_FILLER_ERR
error message: verb linking filler error |
static int |
VERB_LINK_SLOT_ERR
error message: verb linking slot error |
static int |
VERB_NOMINALIZATION_FILLER_ERR
error message: verb nominalization filler error |
static int |
VERB_NOMINALIZATION_SLOT_ERR
error message: verb nominalization slot error |
static int |
VERB_TRAN_FILLER_ERR
error message: verb transitive filler error |
static int |
VERB_TRAN_SLOT_ERR
error message: verb transitive slot error |
static int |
VERB_VAR_FILLER_ERR
error message: verb variants filler error |
static int |
VERB_VAR_SLOT_ERR
error message: verb variant slot error |
| Constructor Summary | |
|---|---|
ErrMsg()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
GetErrMsg()
Get the crrent error message. |
static void |
PrintErrMsg(boolean printFlag,
int index,
LineObject lineObject,
java.lang.String token,
int beginIndex,
int endIndex,
boolean isTab)
Print out the error message. |
static void |
ResetErrMsg()
Reset the crrent error message to a new string. |
static void |
SetErrMsg(java.lang.String errMsg)
Set the crrent error message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LS
public static final int NONE
public static final int FILLER_FORMAT_ERR
public static final int FILLER_BLANK_ERR
public static final int FILLER_START_CHAR_ERR
public static final int BASE_SLOT_ERR
public static final int SPELLING_VAR_SLOT_ERR
public static final int ENTRY_SLOT_ERR
public static final int ENTRY_FILLER_ERR
public static final int TAB_ERR
public static final int CAT_SLOT_ERR
public static final int CAT_FILLER_ERR
public static final int VARIANTS_ERR
public static final int VARIANTS_FORMAT_ERR
public static final int ANNOTATION_SLOT_ERR
public static final int SIGNATURE_SLOT_ERR
public static final int END_SLOT_ERR
public static final int END_CODE_ERR
public static final int ABBREVIATION_SLOT_ERR
public static final int ABBREVIATION_FILLER_ERR
public static final int ACRONYM_SLOT_ERR
public static final int ACRONYM_FILLER_ERR
public static final int DUPLICATE_SLOT_ERR
public static final int DET_VAR_SLOT_ERR
public static final int DET_VAR_FILLER_ERR
public static final int DET_INTERROGATIVE_SLOT_ERR
public static final int DET_DEMONSTRATIVE_SLOT_ERR
public static final int PRON_VAR_SLOT_ERR
public static final int PRON_VAR_FILLER_ERR
public static final int PRON_GENDER_SLOT_ERR
public static final int PRON_GENDER_FILLER_ERR
public static final int PRON_INTERROGATIVE_SLOT_ERR
public static final int PRON_TYPE_SLOT_ERR
public static final int PRON_TYPE_FILLER_ERR
public static final int MODAL_VAR_SLOT_ERR
public static final int MODAL_VAR_FILLER_ERR
public static final int AUX_VAR_SLOT_ERR
public static final int AUX_VAR_FILLER_ERR
public static final int ADV_VAR_SLOT_ERR
public static final int ADV_VAR_FILLER_ERR
public static final int ADV_INTERROGATIVE_SLOT_ERR
public static final int ADV_MODIFICATION_SLOT_ERR
public static final int ADV_MODIFICATION_FILLER_ERR
public static final int ADV_NEGATIVE_SLOT_ERR
public static final int ADV_BROAD_NEGATIVE_SLOT_ERR
public static final int ADJ_VAR_SLOT_ERR
public static final int ADJ_VAR_FILLER_ERR
public static final int ADJ_POSITION_SLOT_ERR
public static final int ADJ_POSITION_FILLER_ERR
public static final int ADJ_COMPL_SLOT_ERR
public static final int ADJ_COMPL_FILLER_ERR
public static final int ADJ_STATIVE_SLOT_ERR
public static final int ADJ_NOMINALIZATION_SLOT_ERR
public static final int ADJ_NOMINALIZATION_FILLER_ERR
public static final int NOUN_VAR_SLOT_ERR
public static final int NOUN_VAR_FILLER_ERR
public static final int NOUN_COMPL_SLOT_ERR
public static final int NOUN_COMPL_FILLER_ERR
public static final int NOUN_NOMINALIZATION_SLOT_ERR
public static final int NOUN_NOMINALIZATION_FILLER_ERR
public static final int NOUN_TRADENAME_SLOT_ERR
public static final int NOUN_TRADENAME_FILLER_ERR
public static final int NOUN_TRADEMARK_SLOT_ERR
public static final int NOUN_TRADEMARK_FILLER_ERR
public static final int NOUN_PROPER_SLOT_ERR
public static final int VERB_VAR_SLOT_ERR
public static final int VERB_VAR_FILLER_ERR
public static final int VERB_INTRAN_SLOT_ERR
public static final int VERB_INTRAN_FILLER_ERR
public static final int VERB_INTRAN2_SLOT_ERR
public static final int VERB_INTRAN2_FILLER_ERR
public static final int VERB_TRAN_SLOT_ERR
public static final int VERB_TRAN_FILLER_ERR
public static final int VERB_DITRAN_SLOT_ERR
public static final int VERB_DITRAN_FILLER_ERR
public static final int VERB_LINK_SLOT_ERR
public static final int VERB_LINK_FILLER_ERR
public static final int VERB_CPLXTRAN_SLOT_ERR
public static final int VERB_CPLXTRAN_FILLER_ERR
public static final int VERB_NOMINALIZATION_SLOT_ERR
public static final int VERB_NOMINALIZATION_FILLER_ERR
public static final int VERB_COMPL_NUM_ERR
public static final int SLOT_FILLER_ERR
public static final int SLOT_FILLER_NUMBER_ERR
public static final int SLOT_NUMBER_ERR
| Constructor Detail |
|---|
public ErrMsg()
| Method Detail |
|---|
public static void PrintErrMsg(boolean printFlag,
int index,
LineObject lineObject,
java.lang.String token,
int beginIndex,
int endIndex,
boolean isTab)
printFlag - the flag for print out check resultindex - the index of error message to print outlineObject - the java object of the input linetoken - the token string of the problembeginIndex - the index of the beginning mark of the problemendIndex - the index of the ending mark of the problemisTab - the flag of tab stratingpublic static java.lang.String GetErrMsg()
public static void SetErrMsg(java.lang.String errMsg)
errMsg - error message to be setpublic static void ResetErrMsg()
|
LexCheck 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||