org.fao.geonet.csw.common.exceptions
Class CatalogException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fao.geonet.csw.common.exceptions.CatalogException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidParameterValueEx, InvalidUpdateSequenceEx, MissingParameterValueEx, NoApplicableCodeEx, OperationNotSupportedEx, VersionNegotiationFailedEx
public abstract class CatalogException
- extends java.lang.Exception
- See Also:
- Serialized Form
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 |
INVALID_PARAMETER_VALUE
protected static final java.lang.String INVALID_PARAMETER_VALUE
- See Also:
- Constant Field Values
INVALID_UPDATE_SEQUENCE
protected static final java.lang.String INVALID_UPDATE_SEQUENCE
- See Also:
- Constant Field Values
MISSING_PARAMETER_VALUE
protected static final java.lang.String MISSING_PARAMETER_VALUE
- See Also:
- Constant Field Values
NO_APPLICABLE_CODE
protected static final java.lang.String NO_APPLICABLE_CODE
- See Also:
- Constant Field Values
OPERATION_NOT_SUPPORTED
protected static final java.lang.String OPERATION_NOT_SUPPORTED
- See Also:
- Constant Field Values
VERSION_NEGOTIATION_FAILED
protected static final java.lang.String VERSION_NEGOTIATION_FAILED
- See Also:
- Constant Field Values
CatalogException
public CatalogException(java.lang.String code,
java.lang.String message,
java.lang.String locator)
CatalogException
public CatalogException(java.lang.String code,
java.lang.String message,
java.lang.String locator,
CatalogException cause)
getCode
public java.lang.String getCode()
getLocator
public java.lang.String getLocator()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
marshal
public static org.jdom.Element marshal(CatalogException e)
unmarshal
public static void unmarshal(org.jdom.Element response)
throws CatalogException,
java.lang.Exception
- Throws:
CatalogException
java.lang.Exception