|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.esri.core.io.EsriSecurityException
public class EsriSecurityException
An Exception that describes problems encountered while accessing secure ArcGIS services.
Field Summary | |
---|---|
static int |
AUTHENTICATION_FAILED
Server failed to authenticate the user. |
static int |
TOKEN_INVALID
User supplied token was invalid. |
static int |
TOKEN_SERVICE_NOT_FOUND
Token service not found. |
static int |
UNTRUSTED_SERVER_CERTIFICATE
The server is not trusted. |
Constructor Summary | |
---|---|
EsriSecurityException(int code)
Instantiates an object of EsriSecurityException |
|
EsriSecurityException(int code,
String msg)
Instantiates an EsriServiceException with the given error message. |
|
EsriSecurityException(int code,
String msg,
Throwable throwable)
Instantiates an object of EsriSecurityException |
|
EsriSecurityException(Throwable th)
Instantiates an object of EsriSecurityException |
Method Summary | |
---|---|
int |
getCode()
Return the exception code. |
String |
getDescription()
Returns the error description |
static String |
getMSG(int code)
Returns a string representation of this object |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int AUTHENTICATION_FAILED
public static final int TOKEN_INVALID
public static final int TOKEN_SERVICE_NOT_FOUND
public static final int UNTRUSTED_SERVER_CERTIFICATE
Constructor Detail |
---|
public EsriSecurityException(int code)
code
- the error codepublic EsriSecurityException(Throwable th)
th
- the causepublic EsriSecurityException(int code, String msg, Throwable throwable)
msg
- the error messagethrowable
- the causepublic EsriSecurityException(int code, String msg)
msg
- the error messageMethod Detail |
---|
public int getCode()
getCode
in interface EsriErrorCode
public static String getMSG(int code)
public String getDescription()
EsriErrorCode
getDescription
in interface EsriErrorCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |