com.esri.core.io
Class EsriUnsupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.esri.core.io.EsriUnsupportedException
All Implemented Interfaces:
EsriErrorCode, Serializable

public class EsriUnsupportedException
extends Exception
implements EsriErrorCode

See Also:
Serialized Form

Field Summary
static int SPATIAL_REFERENCE_NOT_SUPPORTED
          Spatial reference is not supported.
 
Constructor Summary
EsriUnsupportedException(int code)
          Instantiates an object of EsriSecurityException
EsriUnsupportedException(int code, String msg)
          Instantiates an EsriServiceException with the given error message.
EsriUnsupportedException(int code, String msg, Throwable throwable)
          Instantiates an object of EsriSecurityException
EsriUnsupportedException(Throwable th)
          Instantiates an object of EsriSecurityException
 
Method Summary
 int getCode()
          Returns the error 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

SPATIAL_REFERENCE_NOT_SUPPORTED

public static final int SPATIAL_REFERENCE_NOT_SUPPORTED
Spatial reference is not supported.

See Also:
Constant Field Values
Constructor Detail

EsriUnsupportedException

public EsriUnsupportedException(int code)
Instantiates an object of EsriSecurityException

Parameters:
code - the error code

EsriUnsupportedException

public EsriUnsupportedException(Throwable th)
Instantiates an object of EsriSecurityException

Parameters:
th - the cause

EsriUnsupportedException

public EsriUnsupportedException(int code,
                                String msg,
                                Throwable throwable)
Instantiates an object of EsriSecurityException

Parameters:
msg - the error message
throwable - the cause

EsriUnsupportedException

public EsriUnsupportedException(int code,
                                String msg)
Instantiates an EsriServiceException with the given error message.

Parameters:
msg - the error message
Method Detail

getCode

public int getCode()
Description copied from interface: EsriErrorCode
Returns the error code.

Specified by:
getCode in interface EsriErrorCode

getMSG

public static String getMSG(int code)
Returns a string representation of this object

Parameters:
code -

getDescription

public String getDescription()
Description copied from interface: EsriErrorCode
Returns the error description

Specified by:
getDescription in interface EsriErrorCode


Copyright © 2012. All Rights Reserved.