public class GbjGciException extends RuntimeException
In package GBJ, the class GbjException does not inherit from this class, but includes code to accept a GbjGciException as an argument and processes it further.
Most of the fields in GbjGciException represent data passed from the GemStone GCI. Refer to appropriate GemStone documentation for information on these fields.
The field "number" indicates a GCI error number. For non-GCI errors originating in the JNI, the GCI error 2318 (RT_ERR_GENERIC_ERROR) is used, and information about the non-GCI error contained in the message field.
Modifier and Type | Field and Description |
---|---|
int |
argCount
Number of additional arguments associated with this error
|
long[] |
args
List of additional arguments associated with this error
|
long |
category
GS oop of the error dictionary categorizing this error
|
long |
context
GS oop of the context GsProcess that the error occurred in
|
boolean |
fatal
Boolean flag indicating if this is a fatal error or not
|
String |
message
Text message describing error
|
int |
number
GCI error number.
|
Constructor and Description |
---|
GbjGciException()
Create an instance of GbjGciException
|
GbjGciException(int num,
String msg)
Create an instance of GbjGciException
|
GbjGciException(String msg)
Create an instance of GbjGciException
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Return a composite of both the Exception and GCI error messages
|
void |
print()
Utility/debug method for printing fields
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int number
public String message
public long category
public long context
public boolean fatal
public int argCount
public long[] args
public GbjGciException()
public GbjGciException(String msg)
msg
- Stringpublic GbjGciException(int num, String msg)
num
- int number of GS errormsg
- String text of error messagepublic String getMessage()
getMessage
in class Throwable
public void print()