Class CswException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codice.ddf.spatial.ogc.csw.catalog.common.CswException
- All Implemented Interfaces:
Serializable
The exception thrown when an exception response is returned by the remote CSW service.
- Author:
- rodgersh
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCswException(String message) CswException(String message, int httpStatus) CswException(String message, int httpStatus, String exceptionCode, String locator) CswException(String message, String exceptionCode, String locator) CswException(String message, Throwable throwable) CswException(String message, Throwable throwable, String exceptionCode, String locator) CswException(Throwable throwable) CswException(Throwable throwable, int httpStatus) CswException(Throwable throwable, int httpStatus, String exceptionCode, String locator) CswException(Throwable throwable, String exceptionCode, String locator) -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetExceptionCode(String exceptionCode) voidsetHttpStatus(int httpStatus) voidsetLocator(String locator) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
CswException
-
-
Method Details
-
getHttpStatus
public int getHttpStatus() -
setHttpStatus
public void setHttpStatus(int httpStatus) -
getExceptionCode
-
setExceptionCode
-
getLocator
-
setLocator
-