| 
 | ||||||||||
| 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_FAILEDServer failed to authenticate the user. | 
| static int | TOKEN_INVALIDUser supplied token was invalid. | 
| static int | TOKEN_SERVICE_NOT_FOUNDToken service not found. | 
| static int | UNTRUSTED_SERVER_CERTIFICATEThe 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 cause
public EsriSecurityException(int code,
                             String msg,
                             Throwable throwable)
msg - the error messagethrowable - the cause
public EsriSecurityException(int code,
                             String msg)
msg - the error message| Method Detail | 
|---|
public int getCode()
getCode in interface EsriErrorCodepublic 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 | |||||||||