|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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.s |
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 |
|---|
clone, equals, finalize, 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 cause
public EsriSecurityException(int code,
String msg,
Throwable throwable)
code - the codemsg - the error messagethrowable - the cause
public EsriSecurityException(int code,
String msg)
code - the codemsg - the error message| Method Detail |
|---|
public int getCode()
getCode in interface EsriErrorCodepublic static String getMSG(int code)
code - the code
public String getDescription()
getDescription in interface EsriErrorCodeEsriErrorCode.getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||