public final class InsertException extends Exception
MESSAGE ID MOREINFO "Service busy" 1 "Service busy" "Bad credentials" 2 "Bad credentials" "Not authorized" 3 "Not authorized" "Duplicated uuid" 4 "Duplicated uuid" "Uuid bad format" 5 "Uuid bad format" "Other error" 7 "Other error" "Fatal error" 8 "Fatal error" "Metadata error" 9 detailed error description "Soap error" 252 Soap fault code description "Http error" 253 Http error code "Connection error" 254 Connection error "Client error" 255 see include inner exception
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_ERROR |
static int |
CONNECTION_ERROR |
static int |
HTTP_ERROR |
static int |
SOAP_ERROR |
Constructor and Description |
---|
InsertException(Exception e)
Create InsertException object for client side exceptions.
|
InsertException(int httpErrorCode)
Create InsertException object for Http error.
|
InsertException(int id,
String message,
String moreInfo)
Create InsertException object for exceptions from server.
|
InsertException(String message)
Create InsertException object for Soap error.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get exception id.
|
String |
getMoreInfo()
Get detailed exception information.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int SOAP_ERROR
public static final int HTTP_ERROR
public static final int CONNECTION_ERROR
public static final int CLIENT_ERROR
public InsertException(int id, String message, String moreInfo)
id
- exception idmessage
- exception messagemoreInfo
- exception more infopublic InsertException(Exception e)
e
- causepublic InsertException(int httpErrorCode)
httpErrorCode
- http error codepublic InsertException(String message)
message
- soap error descriptionpublic int getId()
public String getMoreInfo()
Copyright © 2013. All Rights Reserved.