Esri Geoportal Server
1.2.2

com.esri.gpt.catalog.arcgis.agportal.publication
Class AgpServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.esri.gpt.catalog.arcgis.agportal.publication.AgpServerException
All Implemented Interfaces:
Serializable

public class AgpServerException
extends Exception

ArcGIS Portal server exception. This exception represents ArcGIS Portal error found in the server response to any of 'addItem', 'update', or 'delete' request.

See Also:
Serialized Form

Constructor Summary
AgpServerException(int code, String message)
          Creates a new instance of AgpServerException without detail message.
 
Method Summary
 int getCode()
          Gets code.
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgpServerException

public AgpServerException(int code,
                          String message)
Creates a new instance of AgpServerException without detail message.

Parameters:
code - error code
message - error message
Method Detail

getCode

public int getCode()
Gets code.

Returns:
code

toString

public String toString()
Overrides:
toString in class Throwable

Esri Geoportal Server
1.2.2

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.