Open SiteSearch 4.1.1
Final

ORG.oclc.webz
Class WebZErrors

java.lang.Object
  |
  +--ORG.oclc.webz.WebZErrors

public class WebZErrors
extends Object

The WebZErrors class defines the error codes and messages that are generated from the base WebZ classes. The values of the code and msg entities used in WebZ are based on the values defined in this class.


Field Summary
static int deleteresultProcessingError
          integer data type defining Processing Error - Unable to create deleteResultSet request to search: code= 60.
static int deleteresultZ3950Error
          integer data type defining Z3950 DeleteResultSet Error: code= 61.
static int esDatabaseGrowDatabase
          integer data type defining Z3950 Extended Services Database Online Update Error - No Update Submitted - Grow Database Needed : code= 87.
static int esDatabaseLocked
          integer data type defining Z3950 Extended Services Database Online Update Error - Database Locked - Retry update : code= 85.
static int esDatabaseNoLockServer
          integer data type defining Z3950 Extended Services Database Online Update Error - Lock Server Not Found : code= 88.
static int esDatabaseNoUpdateRecord
          integer data type defining Z3950 Extended Services Database Online Update Error - No Update Record Specified: code= 86.
static int esDatabaseUpdateFailed
          integer data type defining Z3950 Extended Services Database Online Update Error - Database Update Failed - Check logs : code= 83.
static int esDatabaseUpdateNoDbname
          integer data type defining Z3950 Extended Services Database Online Update Error - No Database Name Specified: code= 84.
static int esMissingInput
          integer data type defining Missing Input for Extended Services Request: code= 81.
static int esProcessingError
          integer data type defining ExtendedServices Processing Error: code= 80.
static int esUpdateRecordLockExists
          integer data type defining Z3950 Extended Services Database Update Record Locking Error - Database Record Lock Exists : code= 90.
static int esUpdateRecordLockFailed
          integer data type defining Z3950 Extended Services Database Update Record Locking Error - Database Record Lock Failed - Check Logs : code= 89.
static int esZ3950Error
          integer data type defining Z3950 Extended Services Error: code= 82.
static int initProcessingError
          integer data type defining Init Processing Error: code= 11.
static int initZ3950Failure
          integer data type defining Z3950 Init Error: code= 12.
static int initZ3950ServerUnavailable
          integer data type defining Z3950 Server Unavailable: code= 10.
static int isoillProcessingError
          integer data type defining IsoILL Error - Unable to create request: code= 70.
static int isoillRequestError
          integer data type defining IsoILL Error - Server cannot process the Request: code= 71.
static int jassiUnspecifiedError
          integer data type defining an Unspecified Error: code= 1.
static int presentFormatClassLoad
          integer data type defining Record Formatting error: code= 32.
static int presentImagePresentationError
          integer data type defining Image Present Error - Unable to locate Image Information for database retrieval: code= 35.
static int presentMissingRecordNumber
          integer data type defining Missing record number in present request: code= 30.
static int presentMissingResultSetName
          integer data type defining Missing ResultSetName in present request: code= 31.
static int presentProcessingError
          integer data type defining Processing Error - Unable to create present request to server: code= 33.
static int presentZ3950Error
          integer data type defining Z3950 Present Error: code= 34.
static int scanCouldNotParseQuery
          integer data type defining Could not parse scan query: code= 43.
static int scanDbGroupScanNotSupported
          integer data type defining Database Group scan is not supported: code= 41.
static int scanNoInputQuery
          integer data type defining Unable to find input scan query: code= 42.
static int scanNotSupported
          integer data type defining Scan is not supported: code= 40.
static int scanProcessingError
          integer data type defining Processing Error - Unable to create scan request to server: code= 45.
static int scanQueryParserError
          integer data type defining Invalid query: code= 44.
static int scanZ3950Error
          integer data type defining Z3950 Scan Error: code= 46.
static int searchCannotRetrieveRecords
          integer data type defining Search processing error - Could not retrieve records from the search: code= 26.
static int searchCouldNotParseQuery
          integer data type defining Could not parse input query: code= 21.
static int searchDatabaseInfoLost
          integer data type defining Search processing error - Unable to locate database information: code= 27.
static int searchDbGroupSearchNotSupported
          integer data type defining Database Group search is not supported: code= 23.
static int searchFoundNoRecords
          integer data type defining Search found no records: code= 29.
static int searchNoInputQuery
          integer data type defining Unable to find input query: code= 20.
static int searchProcessingError
          integer data type defining Processing Error - Unable to create search request to server: code= 24.
static int searchQueryParserError
          integer data type defining Invalid query: code= 22.
static int searchZ3950Error
          integer data type defining Z3950 Search Error: code= 25.
static int searchZ3950PresentFailure
          integer data type defining Z3950 Present Error on search: code= 28.
static int sortInvalidKeys
          integer data type defining Invalid sort keys specified: sortcode= 52.
static int sortNotSupported
          integer data type defining Sort is not supported: sortcode= 50.
static int sortProcessingError
          integer data type defining Processing Error - Unable to create sort request to server: sortcode= 53.
static int sortSearchPostingsExceedThreshold
          integer data type defining Search Postings exceed the sort threshold: sortcode= 51.
static int sortZ3950Error
          integer data type defining Z3950 Sort Error: sortcode= 54.
static int success
          integer data type defining execution success: code= 0.
static int webzInvalidDatabaseAuthorization
          integer data type defining User's Authorization is incorrect to access the database code= 5.
static int webzMissingDatabaseforResultSet
          integer data type defining No database found for input ResultSetName: code= 3.
static int webzNoDatabaseNameFound
          integer data type defining Could not locate the database name: code= 4.
static int webzNoZUserData
          integer data type defining Unable to establish Z3950 user Context: code= 2.
 
Constructor Summary
WebZErrors()
          Constructs a WebZErrors object.
WebZErrors(int condition, String addinfo)
          Constructs a WebZErrors object with the input error code and error message.
 
Method Summary
 String addinfo()
          Returns a String containing the error message.
 int code()
          Returns an integer containing the error code.
static String msg(int code)
          Retrieves a String containing the error message for the input error code.
 String toString()
          Generates a String representation of the WebZErrors object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

success

public static final int success
integer data type defining execution success: code= 0.

jassiUnspecifiedError

public static final int jassiUnspecifiedError
integer data type defining an Unspecified Error: code= 1.

webzNoZUserData

public static final int webzNoZUserData
integer data type defining Unable to establish Z3950 user Context: code= 2.

webzMissingDatabaseforResultSet

public static final int webzMissingDatabaseforResultSet
integer data type defining No database found for input ResultSetName: code= 3.

webzNoDatabaseNameFound

public static final int webzNoDatabaseNameFound
integer data type defining Could not locate the database name: code= 4.

webzInvalidDatabaseAuthorization

public static final int webzInvalidDatabaseAuthorization
integer data type defining User's Authorization is incorrect to access the database code= 5.

initZ3950ServerUnavailable

public static final int initZ3950ServerUnavailable
integer data type defining Z3950 Server Unavailable: code= 10.

initProcessingError

public static final int initProcessingError
integer data type defining Init Processing Error: code= 11.

initZ3950Failure

public static final int initZ3950Failure
integer data type defining Z3950 Init Error: code= 12.

searchNoInputQuery

public static final int searchNoInputQuery
integer data type defining Unable to find input query: code= 20.

searchCouldNotParseQuery

public static final int searchCouldNotParseQuery
integer data type defining Could not parse input query: code= 21.

searchQueryParserError

public static final int searchQueryParserError
integer data type defining Invalid query: code= 22.

searchDbGroupSearchNotSupported

public static final int searchDbGroupSearchNotSupported
integer data type defining Database Group search is not supported: code= 23.

searchProcessingError

public static final int searchProcessingError
integer data type defining Processing Error - Unable to create search request to server: code= 24.

searchZ3950Error

public static final int searchZ3950Error
integer data type defining Z3950 Search Error: code= 25.

searchCannotRetrieveRecords

public static final int searchCannotRetrieveRecords
integer data type defining Search processing error - Could not retrieve records from the search: code= 26.

searchDatabaseInfoLost

public static final int searchDatabaseInfoLost
integer data type defining Search processing error - Unable to locate database information: code= 27.

searchZ3950PresentFailure

public static final int searchZ3950PresentFailure
integer data type defining Z3950 Present Error on search: code= 28.

searchFoundNoRecords

public static final int searchFoundNoRecords
integer data type defining Search found no records: code= 29.

presentMissingRecordNumber

public static final int presentMissingRecordNumber
integer data type defining Missing record number in present request: code= 30.

presentMissingResultSetName

public static final int presentMissingResultSetName
integer data type defining Missing ResultSetName in present request: code= 31.

presentFormatClassLoad

public static final int presentFormatClassLoad
integer data type defining Record Formatting error: code= 32.

presentProcessingError

public static final int presentProcessingError
integer data type defining Processing Error - Unable to create present request to server: code= 33.

presentZ3950Error

public static final int presentZ3950Error
integer data type defining Z3950 Present Error: code= 34.

presentImagePresentationError

public static final int presentImagePresentationError
integer data type defining Image Present Error - Unable to locate Image Information for database retrieval: code= 35.

scanNotSupported

public static final int scanNotSupported
integer data type defining Scan is not supported: code= 40.

scanDbGroupScanNotSupported

public static final int scanDbGroupScanNotSupported
integer data type defining Database Group scan is not supported: code= 41.

scanNoInputQuery

public static final int scanNoInputQuery
integer data type defining Unable to find input scan query: code= 42.

scanCouldNotParseQuery

public static final int scanCouldNotParseQuery
integer data type defining Could not parse scan query: code= 43.

scanQueryParserError

public static final int scanQueryParserError
integer data type defining Invalid query: code= 44.

scanProcessingError

public static final int scanProcessingError
integer data type defining Processing Error - Unable to create scan request to server: code= 45.

scanZ3950Error

public static final int scanZ3950Error
integer data type defining Z3950 Scan Error: code= 46.

sortNotSupported

public static final int sortNotSupported
integer data type defining Sort is not supported: sortcode= 50.

sortSearchPostingsExceedThreshold

public static final int sortSearchPostingsExceedThreshold
integer data type defining Search Postings exceed the sort threshold: sortcode= 51.

sortInvalidKeys

public static final int sortInvalidKeys
integer data type defining Invalid sort keys specified: sortcode= 52.

sortProcessingError

public static final int sortProcessingError
integer data type defining Processing Error - Unable to create sort request to server: sortcode= 53.

sortZ3950Error

public static final int sortZ3950Error
integer data type defining Z3950 Sort Error: sortcode= 54.

deleteresultProcessingError

public static final int deleteresultProcessingError
integer data type defining Processing Error - Unable to create deleteResultSet request to search: code= 60.

deleteresultZ3950Error

public static final int deleteresultZ3950Error
integer data type defining Z3950 DeleteResultSet Error: code= 61.

isoillProcessingError

public static final int isoillProcessingError
integer data type defining IsoILL Error - Unable to create request: code= 70.

isoillRequestError

public static final int isoillRequestError
integer data type defining IsoILL Error - Server cannot process the Request: code= 71.

esProcessingError

public static final int esProcessingError
integer data type defining ExtendedServices Processing Error: code= 80.

esMissingInput

public static final int esMissingInput
integer data type defining Missing Input for Extended Services Request: code= 81.

esZ3950Error

public static final int esZ3950Error
integer data type defining Z3950 Extended Services Error: code= 82.

esDatabaseUpdateFailed

public static final int esDatabaseUpdateFailed
integer data type defining Z3950 Extended Services Database Online Update Error - Database Update Failed - Check logs : code= 83.

esDatabaseUpdateNoDbname

public static final int esDatabaseUpdateNoDbname
integer data type defining Z3950 Extended Services Database Online Update Error - No Database Name Specified: code= 84.

esDatabaseLocked

public static final int esDatabaseLocked
integer data type defining Z3950 Extended Services Database Online Update Error - Database Locked - Retry update : code= 85.

esDatabaseNoUpdateRecord

public static final int esDatabaseNoUpdateRecord
integer data type defining Z3950 Extended Services Database Online Update Error - No Update Record Specified: code= 86.

esDatabaseGrowDatabase

public static final int esDatabaseGrowDatabase
integer data type defining Z3950 Extended Services Database Online Update Error - No Update Submitted - Grow Database Needed : code= 87.

esDatabaseNoLockServer

public static final int esDatabaseNoLockServer
integer data type defining Z3950 Extended Services Database Online Update Error - Lock Server Not Found : code= 88.

esUpdateRecordLockFailed

public static final int esUpdateRecordLockFailed
integer data type defining Z3950 Extended Services Database Update Record Locking Error - Database Record Lock Failed - Check Logs : code= 89.

esUpdateRecordLockExists

public static final int esUpdateRecordLockExists
integer data type defining Z3950 Extended Services Database Update Record Locking Error - Database Record Lock Exists : code= 90.
Constructor Detail

WebZErrors

public WebZErrors()
Constructs a WebZErrors object.

WebZErrors

public WebZErrors(int condition,
                  String addinfo)
Constructs a WebZErrors object with the input error code and error message.
Parameters:
code - error condition
addinfo - text string further describing error
Method Detail

code

public int code()
Returns an integer containing the error code.
Returns:
int

addinfo

public String addinfo()
Returns a String containing the error message.
Returns:
String

msg

public static String msg(int code)
Retrieves a String containing the error message for the input error code.
Parameters:
code - the error code
Returns:
String the message if available

toString

public String toString()
Generates a String representation of the WebZErrors object.
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final