com.esri.gpt.catalog.arcgis.agportal.publication
Class AgpServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
AgpServerException
public AgpServerException(int code,
String message)
- Creates a new instance of
AgpServerException
without detail message.
- Parameters:
code
- error codemessage
- error message
getCode
public int getCode()
- Gets code.
- Returns:
- code
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.