Class ExceptionHandler
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetcatalog.util.ExceptionHandler
-
public class ExceptionHandler extends Object
Exception handler used to capture OMRSCheckedExceptionBase and AssetCatalogException
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcaptureAssetCatalogExeption(AssetCatalogOMASAPIResponse response, AssetCatalogException e)Capture the AssetCatalogException and set on the AssetCatalogOMASAPIResponse corresponding HTTP codevoidcaptureOMRSCheckedExceptionBase(AssetCatalogOMASAPIResponse response, OMRSCheckedExceptionBase e)Capture the OMRSCheckedExceptionBase exception and set on the AssetCatalogOMASAPIResponse corresponding HTTP code
-
-
-
Method Detail
-
captureOMRSCheckedExceptionBase
public void captureOMRSCheckedExceptionBase(AssetCatalogOMASAPIResponse response, OMRSCheckedExceptionBase e)
Capture the OMRSCheckedExceptionBase exception and set on the AssetCatalogOMASAPIResponse corresponding HTTP code- Parameters:
response- - AssetCatalogOMASAPIResponse responsee- - OMRSCheckedExceptionBase exception
-
captureAssetCatalogExeption
public void captureAssetCatalogExeption(AssetCatalogOMASAPIResponse response, AssetCatalogException e)
Capture the AssetCatalogException and set on the AssetCatalogOMASAPIResponse corresponding HTTP code- Parameters:
response- AssetCatalogOMASAPIResponsee- AssetCatalogException exception
-
-