|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.util.DpcErrors
public class DpcErrors
Overall compendium of error codes for DLESE DPC software components. Error ranges:
Constructor Summary | |
---|---|
DpcErrors()
|
Method Summary | |
---|---|
static String |
getMessage(int id)
Returns the message associated with the specified id. |
static int |
getType(String msg)
Returns the id associated with the specified message. |
static void |
main(String[] args)
Test driver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IDMAP_OK
public static final int IDMAP_UNKNOWN_PROTOCOL
public static final int IDMAP_MISSING_FIELD
public static final int IDMAP_MULT_FIELD
public static final int IDMAP_BAD_XML_FILE
public static final int IDMAP_VITALITY
public static final int IDMAP_ID_SYNTAX
public static final int IDMAP_DUP_ID
public static final int IDMAP_URL_SYNTAX
public static final int IDMAP_EMAIL_SYNTAX
public static final int IDMAP_ACCESSION_DATE_MISSING
public static final int IDMAP_PERM_REDIRECT
public static final int IDMAP_MIRROR_DIFFERS
public static final int IDMAP_DUP
public static final int IDMAP_NOT_FOUND
public static final int IDMAP_SERVER_ERROR
public static final int IDMAP_NO_SERVICE
public static final int IDMAP_CONNECT_REFUSED
public static final int IDMAP_FTP_MISC
public static final int IDMAP_FTP_LOGIN
public static final int IDMAP_REDIRECT_LIMIT
public static final int IDMAP_TIMEOUT
public static final int IDMAP_UNKNOWN_HOST
public static final int IDMAP_HTTP_HEADER
public static final int IDMAP_HTTP_STATUSLINE
public static final int IDMAP_HTTP_RESPONSE
public static final int IDMAP_AUTHORIZATION
public static final int IDMAP_MISC
public static final int IDMAP_SEVERE_LIMIT
public static final int IDMAP_CHANGE_STATUS
public static final int IDMAP_CHANGE_FILENAME
public static final int IDMAP_CHANGE_MMD
public static final int IDMAP_CHANGE_PRIMARY_URL
public static final int IDMAP_SITE_CONTENT_CHANGED
public static final int IDMAP_NO_XML_FILE
public static final int IDMAP_NEW_XML_FILE
public static final int IDMAP_XML_FILE_NAME_CHANGED
public static final int IDMAP_XML_FILE_REAPPEARED
public static final int IDMAP_NEWS_PAST_ARCHIVE_DATE
public static final int IDMAP_NEWS_ARCHIVE_DATE_NOPARSE
Constructor Detail |
---|
public DpcErrors()
Method Detail |
---|
public static String getMessage(int id)
String msg = DpcErrors.getMessage( DpcErrors.IDMAP_NODBREC);
public static int getType(String msg)
int type = DpcErrors.getType( "No DB rec");
public static void main(String[] args)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |