|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opengts.db.dmtp.ClientErrors
public class ClientErrors
| Field Summary |
|---|
| Fields inherited from interface org.opendmtp.codes.ClientErrors |
|---|
ERROR_COMMAND_ERROR, ERROR_COMMAND_INVALID, ERROR_GPS_EXPIRED, ERROR_GPS_FAILURE, ERROR_INTERNAL_ERROR_00, ERROR_INTERNAL_ERROR_01, ERROR_INTERNAL_ERROR_02, ERROR_INTERNAL_ERROR_03, ERROR_INTERNAL_ERROR_04, ERROR_INTERNAL_ERROR_05, ERROR_INTERNAL_ERROR_0F, ERROR_OUT_OF_MEMORY, ERROR_PACKET_ACK, ERROR_PACKET_CHECKSUM, ERROR_PACKET_ENCODING, ERROR_PACKET_HEADER, ERROR_PACKET_LENGTH, ERROR_PACKET_PAYLOAD, ERROR_PACKET_TYPE, ERROR_PROPERTY_INVALID_ID, ERROR_PROPERTY_INVALID_VALUE, ERROR_PROPERTY_READ_ONLY, ERROR_PROPERTY_UNKNOWN_ERROR, ERROR_PROPERTY_WRITE_ONLY, ERROR_PROTOCOL_ERROR, ERROR_UPLOAD_CHECKSUM, ERROR_UPLOAD_FILE_NAME, ERROR_UPLOAD_HOST, ERROR_UPLOAD_LENGTH, ERROR_UPLOAD_OFFSET_GAP, ERROR_UPLOAD_OFFSET_OVERFLOW, ERROR_UPLOAD_OFFSET_OVERLAP, ERROR_UPLOAD_PACKET, ERROR_UPLOAD_SAVE, ERROR_UPLOAD_SERVER_ERROR, ERROR_UPLOAD_TYPE |
| Method Summary | |
|---|---|
static java.lang.String |
getDescription(int errCode)
Gets the code description |
static java.lang.String |
getStringValue(int errCode,
boolean inclDesc,
byte[] errData)
Gets the Description and/or converts the specified binary value to a String |
static java.lang.String |
getStringValue(int errCode,
boolean inclDesc,
byte[] errData,
java.util.TimeZone tz)
Gets the Description and/or converts the specified binary value to a String |
static java.lang.String |
getStringValue(int errCode,
byte[] errData)
Gets the String representation of the specified data for the specified error code |
static java.lang.String |
getStringValue(int errCode,
byte[] errData,
java.util.TimeZone tz)
Gets the String representation of the specified data for the specified error code |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getDescription(int errCode)
errCode - The error code
public static java.lang.String getStringValue(int errCode,
byte[] errData)
errCode - The error codeerrData - The binary payload data
public static java.lang.String getStringValue(int errCode,
byte[] errData,
java.util.TimeZone tz)
errCode - The error codeerrData - The binary payload datatz - A TimeZone used convert any dates encountered
public static java.lang.String getStringValue(int errCode,
boolean inclDesc,
byte[] errData)
errCode - The error codeinclDesc - True to include the description, false to omiterrData - The binary payload data
public static java.lang.String getStringValue(int errCode,
boolean inclDesc,
byte[] errData,
java.util.TimeZone tz)
errCode - The error codeinclDesc - True to include the description, false to omiterrData - The binary payload datatz - A TimeZone used convert any dates encountered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||