public class NetricsException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
ARRAYLEN
Array parameter has wrong number of values.
|
static int |
BYTECOUNT
Obsolete, use SVR_BYTECOUNT.
|
static int |
CHARCONV
Error in character encoding conversion.
|
static int |
CHARMAP
Invalid character mapping.
|
static int |
CHPTFAIL
All of the tables failed to checkpoint.
|
static int |
DUPFIELDNAMES
Duplicate field names given.
|
static int |
DUPRECKEYS
Duplicate keys in a batch.
|
static int |
DUPTBLDESCS
Duplicate dbdescs given.
|
static int |
EXPECTCHARMAP
A character map name lpar was expected.
|
static int |
EXPECTKEYFIELD
Key field not identified in file load.
|
static int |
EXPECTLIST
A list was expected.
|
static int |
EXPECTQUERY
A query lpar was expected.
|
static int |
EXPECTRECKEY
A record key lpar was expected.
|
static int |
EXPECTRECORD
A record was expected.
|
static int |
EXPECTRTBLDESC
A remote database descriptor lpar was expected.
|
static int |
EXPECTTBLDESC
A database descriptor lpar was expected.
|
static int |
EXPECTTHESNAME
A thesaurus name lpar was expected.
|
static int |
EXPIRED
Trial version expired.
|
static int |
EXTRAINPUT
Obsolete, use SVR_EXTRAINTPUT.
|
static int |
FEATUREOFF
Feature present but disabled.
|
static int |
FEATURESET
Feature not available.
|
static int |
FIELDLEN
Single field length greater than 2^16-3.
|
static int |
FIELDLENSUM
Field lengths do not sum to record length.
|
static int |
FILEFORMAT
File format invalid.
|
static int |
HANDSHAKE
Obsolete, use SVR_HANDSHAKE.
|
static int |
INTERNAL
Unexpected Internal Error (contact Netrics).
|
static int |
IOERROR
I/O Error.
|
static int |
IPCEOF
Obsolete, use SVR_IPCEOF.
|
static int |
IPCERR
Obsolete, use SVR_IPCERR.
|
static int |
IPCTIMEOUT
Obsolete, use SVR_IPCTIMEOUT.
|
static int |
LINECOUNT
Obsolete, use SVR_LINECOUNT.
|
static int |
LINELENGTH
Obsolete, use SVR_LINELENGTH.
|
static int |
LISTLEN
List has wrong number of items.
|
static int |
LOGFILE
Obsolete, use SVR_LOGFILE.
|
static int |
LOOKUP
Core lookup function returned error.
|
static int |
NOCHARMAP
No character map with the given name.
|
static int |
NODATABASES
Obsolete, use SVR_NOTDATABASES.
|
static int |
NOFEATUREVEC
No feature vec.
|
static int |
NOFUNCTION
No callback function.
|
static int |
NOMEM
Out of memory.
|
static int |
NOQUERY
No search query.
|
static int |
NORECKEY
A record key is required.
|
static int |
NORECORDS
No records.
|
static int |
NORLINKMODEL
No rlink model.
|
static int |
NOSRCHTXT
Searchable text is required.
|
static int |
NOSTATUS
The NULL error.
|
static int |
NOSYSINIT
System not initialized.
|
static int |
NOTBLDESC
No database descriptor.
|
static int |
NOWGTFIELD
Obsolete, use NOWGTFLD.
|
static int |
NOWGTFLD
No weight field specified in record weight expression..
|
static int |
NSFIELD
Attempt to search non-searchable field.
|
static int |
NUMFEATURESMISMATCH
Rlink model num features mismatch.
|
static int |
NUMFIELDS
Record has the wrong number of fields.
|
static int |
PARAM
Obsolete, use SVR_PARAM.
|
static int |
PARAMCONFLICT
Conflicting parameters.
|
static int |
PARAMFMT
Obsolete, use SVR_PARAMFMT.
|
static int |
PARAMMISSING
Parameter missing from list.
|
static int |
PARAMTYPE
Parameter type is invalid for operation.
|
static int |
PARAMVAL
Parameter value out of legal range.
|
static int |
PARTIAL
Partial search results.
|
static int |
PARTIALCHPT
Some of the tables failed to checkpoint.
|
static int |
PARTIALRESTORE
Some of the tables failed to restore.
|
static int |
PREDSTRING
Error in Predicate string.
|
static int |
PREDTYPE
Predicate does not evaluate to boolean type.
|
static int |
PROTOCMD
Obsolete, use SVR_PROTOCMD.
|
static int |
QUERYEXPR
Badly constructed query expression.
|
static int |
RECEXISTS
Record already exists.
|
static int |
RECNOTFOUND
Record not found.
|
static int |
REMOTEHEAP
Obsolete, use SVR_REMOTEHEAP.
|
static int |
REQUESTFMT
Obsolete, use SVR_REQUESTFMT.
|
static int |
RESTOREFAIL
All of the tables failed to restore.
|
static int |
RLINKMODELNOTFOUND
Rlink model not found.
|
static int |
SHUTDOWN
Obsolete, use SVR_SHUTDOWN.
|
static int |
SRCHPARAM
Unrecognized search parameter.
|
static int |
STATUSOK
Success.
|
static int |
SVR_BLANKLINE
List terminator (non-error).
|
static int |
SVR_BYTECOUNT
Protocol byte count out of range.
|
static int |
SVR_DEFERRED
An error will be happening, but the specific code isn't known yet..
|
static int |
SVR_EXTRAINPUT
Unexpected additional input.
|
static int |
SVR_HANDSHAKE
Protocol handshake failed.
|
static int |
SVR_IPCEOF
Unexpected EOF.
|
static int |
SVR_IPCERR
I/O error on socket.
|
static int |
SVR_IPCTIMEOUT
Socket I/O operation timed out.
|
static int |
SVR_LAYOUT_CONFLICT
Object exists on an overlapping layout..
|
static int |
SVR_LINECOUNT
Protocol line count out of range.
|
static int |
SVR_LINELENGTH
Protocol line too long.
|
static int |
SVR_LOGFILE
Log file could not be opened/written.
|
static int |
SVR_NO_DEFAULT_LAYOUT
No default layout and the client did not specify one..
|
static int |
SVR_NODATABASES
No databases to search.
|
static int |
SVR_NODE_CONFLICT
Conflicting errors from multiple nodes..
|
static int |
SVR_NODE_DATA_SYNC
Objects out of sync between nodes..
|
static int |
SVR_NODE_DOWN
Node communications failed..
|
static int |
SVR_NOQUERY
No search query.
|
static int |
SVR_NOSTATUS
Unparsable status line.
|
static int |
SVR_OTHER_NODE
Node operation aborted because another node in the same operation failed..
|
static int |
SVR_PARAM
Protocol parameter not recognized.
|
static int |
SVR_PARAMFMT
Protocol parameter format error.
|
static int |
SVR_PARAMTYPE
Protocol parameter type mismatch.
|
static int |
SVR_PARAMVAL
Protocol parameter value illegal.
|
static int |
SVR_PROTOCMD
Protocol command not recognized.
|
static int |
SVR_REMOTEHEAP
Remote heap mode.
|
static int |
SVR_REQUESTFMT
Protocol request format error.
|
static int |
SVR_SHUTDOWN
Perform server shutdown.
|
static int |
SVR_UNKNOWN_LAYOUT
Client specified a non-existent layout..
|
static int |
SVR_ZEROLEN
No searchable text of zero length.
|
static int |
SVRNOQUERY
Obsolete, use SVR_NOQUERY.
|
static int |
SVRNOSTATUS
Obsolete, use SVR_NOSTATUS.
|
static int |
SVRPARAMVAL
Obsolete, use SVR_PARAMVAL.
|
static int |
SYSINIT
System already initialized.
|
static int |
TBLEXISTS
Database already exists.
|
static int |
TBLLOCKED
Database locked by lkt_dblock.
|
static int |
TBLMOVESAME
Source and destination database are the same.
|
static int |
TBLNOFIELDS
Field support was not requested for this database.
|
static int |
TBLNOTFOUND
Database not found.
|
static int |
TBLPARAM
Unrecognized database parameter.
|
static int |
TBLUNLOCKED
Database not locked by lkt_dblock.
|
static int |
THESNOTFOUND
Thesaurus not found.
|
static int |
UNKFIELD
Unknown field.
|
static int |
UPDPARAM
Unrecognized update parameter.
|
static int |
ZEROLEN
Obsolete, use SVR_ZEROLEN.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the error code associated with the error.
|
java.lang.String |
getErrorDescription()
Get the description of the error.
|
java.lang.String |
getExtendedErrorInformation()
Get the extended error information.
|
java.lang.String |
toString() |
public static final int STATUSOK
public static final int PARTIAL
public static final int NOSYSINIT
public static final int SYSINIT
public static final int FEATURESET
public static final int FEATUREOFF
public static final int EXPECTLIST
public static final int EXPECTTBLDESC
public static final int EXPECTRTBLDESC
public static final int EXPECTRECORD
public static final int EXPECTRECKEY
public static final int EXPECTQUERY
public static final int EXPECTTHESNAME
public static final int EXPECTCHARMAP
public static final int TBLPARAM
public static final int CHARCONV
public static final int CHARMAP
public static final int NORECKEY
public static final int NOSRCHTXT
public static final int NUMFIELDS
public static final int FIELDLENSUM
public static final int FIELDLEN
public static final int UNKFIELD
public static final int NSFIELD
public static final int NOWGTFLD
public static final int QUERYEXPR
public static final int SRCHPARAM
public static final int UPDPARAM
public static final int PARAMVAL
public static final int PARAMCONFLICT
public static final int PARAMMISSING
public static final int PARAMTYPE
public static final int ARRAYLEN
public static final int LISTLEN
public static final int PREDTYPE
public static final int PREDSTRING
public static final int NOTBLDESC
public static final int TBLNOTFOUND
public static final int TBLEXISTS
public static final int TBLLOCKED
public static final int TBLUNLOCKED
public static final int TBLMOVESAME
public static final int TBLNOFIELDS
public static final int NORECORDS
public static final int RECEXISTS
public static final int RECNOTFOUND
public static final int PARTIALCHPT
public static final int CHPTFAIL
public static final int PARTIALRESTORE
public static final int RESTOREFAIL
public static final int DUPRECKEYS
public static final int DUPTBLDESCS
public static final int DUPFIELDNAMES
public static final int THESNOTFOUND
public static final int NORLINKMODEL
public static final int RLINKMODELNOTFOUND
public static final int NOFEATUREVEC
public static final int NUMFEATURESMISMATCH
public static final int NOCHARMAP
public static final int NOFUNCTION
public static final int NOQUERY
public static final int FILEFORMAT
public static final int IOERROR
public static final int EXPIRED
public static final int LOOKUP
public static final int NOSTATUS
public static final int NOMEM
public static final int INTERNAL
public static final int EXPECTKEYFIELD
public static final int SVR_IPCEOF
public static final int SVR_IPCTIMEOUT
public static final int SVR_IPCERR
public static final int SVR_HANDSHAKE
public static final int SVR_PROTOCMD
public static final int SVR_REQUESTFMT
public static final int SVR_BYTECOUNT
public static final int SVR_LINECOUNT
public static final int SVR_LINELENGTH
public static final int SVR_PARAM
public static final int SVR_PARAMFMT
public static final int SVR_PARAMVAL
public static final int SVR_PARAMTYPE
public static final int SVR_NODATABASES
public static final int SVR_NOQUERY
public static final int SVR_EXTRAINPUT
public static final int SVR_LOGFILE
public static final int SVR_ZEROLEN
public static final int SVR_NOSTATUS
public static final int SVR_REMOTEHEAP
public static final int SVR_LAYOUT_CONFLICT
public static final int SVR_NODE_CONFLICT
public static final int SVR_NODE_DOWN
public static final int SVR_NODE_DATA_SYNC
public static final int SVR_OTHER_NODE
public static final int SVR_NO_DEFAULT_LAYOUT
public static final int SVR_UNKNOWN_LAYOUT
public static final int SVR_DEFERRED
public static final int SVR_SHUTDOWN
public static final int SVR_BLANKLINE
public static final int NOWGTFIELD
public static final int IPCEOF
public static final int IPCTIMEOUT
public static final int IPCERR
public static final int HANDSHAKE
public static final int PROTOCMD
public static final int REQUESTFMT
public static final int BYTECOUNT
public static final int LINECOUNT
public static final int LINELENGTH
public static final int PARAM
public static final int PARAMFMT
public static final int SVRPARAMVAL
public static final int NODATABASES
public static final int SVRNOQUERY
public static final int EXTRAINPUT
public static final int LOGFILE
public static final int ZEROLEN
public static final int SVRNOSTATUS
public static final int REMOTEHEAP
public static final int SHUTDOWN
public int getErrorCode()
if( NetricsException.getErrorCode() == NetricsException.ARRAYLEN ) { handle_the_ARRAYLEN_error(); }
public java.lang.String getErrorDescription()
public java.lang.String getExtendedErrorInformation()
public java.lang.String toString()
toString
in class java.lang.Throwable