public class PCNetError
extends PCAbstractError
implements java.io.Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PCNetError.ServiceError | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | PC_ERROR_OPERATION_INTERRUPTEDThe operation was interrupted | 
| static int | PC_ERROR_OPERATION_NOT_SUPPORTEDOperation not supported | 
| static int | PCIS_ERROR_CANNOT_DEFINE_API_VERSIONThe API version of the PC External cannot be defined | 
| static int | PCIS_ERROR_CANNOT_SAVE_RESPONSEResponse from the server cannot be saved to file. | 
| static int | PCIS_ERROR_FINGERPRINT_ALREADY_SETDevice fingerprint already set | 
| static int | PCIS_ERROR_GENERALUndefined error. | 
| static int | PCIS_ERROR_NO_CONNECTIONNo internet connection | 
| static int | PCIS_ERROR_OKNo error | 
| static int | PCIS_ERROR_REQUEST_TIMEOUTRequest timeout (408) | 
| static int | PCIS_ERROR_SERVER_NOT_AVAILABLEServer unavailable | 
| static int | PCIS_ERROR_UNEXPECTED_ANSWER_FORMATAnswer from server has unexpected format | 
| static int | PCIS_ERROR_URL_NOT_FOUNDURL not found | 
| static int | PCIS_ERROR_USER_NOT_READY_TO_SIGNPassword required | 
| Constructor and Description | 
|---|
| PCNetError(int type)Constructor | 
| PCNetError(int httpCode,
          int serverCode,
          java.lang.String HTTPPayload)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getHTTPCode()Get HTTP code from server's response | 
| java.lang.String | getHTTPPayload()Get HTTP Payload from PCSDK Server. | 
| java.lang.String | getMessage()Get error message | 
| java.lang.String | getOriginalHTTPPayload() | 
| int | getServerCode()Get error code from PCSDK server | 
| java.lang.String | toString() | 
public static final int PCIS_ERROR_OK
public static final int PCIS_ERROR_NO_CONNECTION
public static final int PCIS_ERROR_SERVER_NOT_AVAILABLE
public static final int PCIS_ERROR_GENERAL
public static final int PCIS_ERROR_URL_NOT_FOUND
public static final int PCIS_ERROR_USER_NOT_READY_TO_SIGN
public static final int PCIS_ERROR_FINGERPRINT_ALREADY_SET
public static final int PC_ERROR_OPERATION_NOT_SUPPORTED
public static final int PCIS_ERROR_REQUEST_TIMEOUT
public static final int PCIS_ERROR_UNEXPECTED_ANSWER_FORMAT
public static final int PCIS_ERROR_CANNOT_SAVE_RESPONSE
public static final int PCIS_ERROR_CANNOT_DEFINE_API_VERSION
public static final int PC_ERROR_OPERATION_INTERRUPTED
public PCNetError(int httpCode,
                  int serverCode,
                  java.lang.String HTTPPayload)
httpCode - HTTP CodeHTTPPayload - HTTP Payloadpublic PCNetError(int type)
type - Error typepublic int getHTTPCode()
public int getServerCode()
public java.lang.String getMessage()
public java.lang.String getHTTPPayload()
public java.lang.String getOriginalHTTPPayload()
public java.lang.String toString()