org.fao.geonet.csw.common.exceptions
Class CatalogException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fao.geonet.csw.common.exceptions.CatalogException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidParameterValueEx, InvalidUpdateSequenceEx, MissingParameterValueEx, NoApplicableCodeEx, OperationNotSupportedEx, VersionNegotiationFailedEx

public abstract class CatalogException
extends Exception

See Also:
Serialized Form

Field Summary
protected static String INVALID_PARAMETER_VALUE
           
protected static String INVALID_UPDATE_SEQUENCE
           
protected static String MISSING_PARAMETER_VALUE
           
protected static String NO_APPLICABLE_CODE
           
protected static String OPERATION_NOT_SUPPORTED
           
protected static String VERSION_NEGOTIATION_FAILED
           
 
Constructor Summary
CatalogException(String code, String message, String locator)
           
CatalogException(String code, String message, String locator, CatalogException cause)
           
 
Method Summary
 String getCode()
           
 String getLocator()
           
static org.jdom.Element marshal(CatalogException e)
           
 String toString()
           
static void unmarshal(org.jdom.Element response)
           
 
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
 

Field Detail

INVALID_PARAMETER_VALUE

protected static final String INVALID_PARAMETER_VALUE
See Also:
Constant Field Values

INVALID_UPDATE_SEQUENCE

protected static final String INVALID_UPDATE_SEQUENCE
See Also:
Constant Field Values

MISSING_PARAMETER_VALUE

protected static final String MISSING_PARAMETER_VALUE
See Also:
Constant Field Values

NO_APPLICABLE_CODE

protected static final String NO_APPLICABLE_CODE
See Also:
Constant Field Values

OPERATION_NOT_SUPPORTED

protected static final String OPERATION_NOT_SUPPORTED
See Also:
Constant Field Values

VERSION_NEGOTIATION_FAILED

protected static final String VERSION_NEGOTIATION_FAILED
See Also:
Constant Field Values
Constructor Detail

CatalogException

public CatalogException(String code,
                        String message,
                        String locator)

CatalogException

public CatalogException(String code,
                        String message,
                        String locator,
                        CatalogException cause)
Method Detail

getCode

public String getCode()

getLocator

public String getLocator()

toString

public String toString()
Overrides:
toString in class Throwable

marshal

public static org.jdom.Element marshal(CatalogException e)

unmarshal

public static void unmarshal(org.jdom.Element response)
                      throws Exception
Throws:
Exception


Copyright © 2003-2013. All Rights Reserved.