|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproject.biota.util.DiGIRProvError
DiGIRProvError holds the code and messages for a diagnostic occurred while processing a DiGIR request. It also defines the error codes for this provider.
Field Summary | |
static int |
CONCEPT_NOT_DEFINED
This code indicates that a concept used in the DiGIR request is not defined in the conceptual schema. |
static int |
CONCEPT_NOT_RETURNABLE
This code indicates that a concept used as a record concept in a DiGIR search response or the inventory concept in a DiGIR inventory response is not returnable. |
static int |
CONCEPT_NOT_SEARCHABLE
This code indicates that a concept used in the filter element
of the DiGIR request is not searchable for the specified resource. |
static int |
CONCEPT_NOT_SUPPORTED
This code indicates that a concept used in the DiGIR request is not supported by the specified resource. |
static int |
INVALID_ELEMENT_VALUE
This code indicates that the value for a xml element in the request is not valid. |
static int |
INVALID_REQEUST_OPERATION
This code indicates the request operation is not valid. |
static int |
OK
This code indicates that no error has occured |
static int |
RESOURCE_FAILURE
This code indicates that either the resource is not initialized correctly or the provider failed to connect to the resource. |
static int |
RESOURCE_NOT_FOUND
This code indicates that the resource specified in the DiGIR request is not found in this provider. |
static int |
RESOURCE_NOT_SPECIFIED
This code indicates that the resource is not specified in the DiGIR search/inventory request. |
static int |
SCHEMA_NOT_SUPPORTED
This code indicates that the conceptual schema used in the DiGIR request is not supported by the specified resource. |
static int |
UNKNOWN
This code indicates that the source of the error is unknown. |
Constructor Summary | |
DiGIRProvError(int errorCode,
String msg)
Constructs a DiGIRProvError object to represent an error occured while processing the DiGIR request. |
Method Summary | |
String |
getErrorCodeString()
Gets the string representation of an error code. |
String |
getErrorMessage()
Gets the message for this error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int OK
public static final int UNKNOWN
public static final int RESOURCE_NOT_FOUND
public static final int RESOURCE_NOT_SPECIFIED
public static final int RESOURCE_FAILURE
public static final int INVALID_ELEMENT_VALUE
start
attribute
of the records
element should be an integer. When a
non-integer value is provided, this error code will show up in a
diagnostic element of the DiGIR response.
public static final int INVALID_REQEUST_OPERATION
public static final int SCHEMA_NOT_SUPPORTED
public static final int CONCEPT_NOT_DEFINED
public static final int CONCEPT_NOT_SUPPORTED
public static final int CONCEPT_NOT_SEARCHABLE
filter
element
of the DiGIR request is not searchable for the specified resource.
public static final int CONCEPT_NOT_RETURNABLE
Constructor Detail |
public DiGIRProvError(int errorCode, String msg)
errorCode
- theMethod Detail |
public String getErrorCodeString()
public String getErrorMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |