com.esri.core.internal.catalog
Class CatalogException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.esri.core.internal.catalog.CatalogException
All Implemented Interfaces:
Serializable

public class CatalogException
extends Exception

This class encapsulates exceptions that may be raised when communicating with arcgis.com

See Also:
Serialized Form

Constructor Summary
protected CatalogException()
          Creates a default CatalogException
protected CatalogException(String msg)
          Creates a CatalogException and initializes it with a custom message
protected CatalogException(String msg, Throwable e)
          Creates a CatalogException and initializes it with a custom message and a cause
protected CatalogException(Throwable e)
          Creates a CatalogException with a cause.
 
Method Summary
 String getMessage()
          Returns the message of this CatalogException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatalogException

protected CatalogException()
Creates a default CatalogException


CatalogException

protected CatalogException(String msg)
Creates a CatalogException and initializes it with a custom message

Parameters:
msg - a custom message.

CatalogException

protected CatalogException(String msg,
                           Throwable e)
Creates a CatalogException and initializes it with a custom message and a cause

Parameters:
msg - a custom message.
e - typically, the cause of an underlying exception that is being wrapped.

CatalogException

protected CatalogException(Throwable e)
Creates a CatalogException with a cause.

Parameters:
e - typically, the cause of an underlying exception that is being wrapped.
Method Detail

getMessage

public String getMessage()
Returns the message of this CatalogException

Overrides:
getMessage in class Throwable
Returns:
the exception message


Copyright © 2012. All Rights Reserved.