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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    captureAssetCatalogException(org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse response, org.odpi.openmetadata.accessservices.assetcatalog.exception.AssetCatalogException e)
    Capture the AssetCatalogException and set on the AssetCatalogOMASAPIResponse corresponding HTTP code
    void
    captureOMRSCheckedExceptionBase(org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse response, org.odpi.openmetadata.repositoryservices.ffdc.exception.OMRSCheckedExceptionBase e)
    Capture the OMRSCheckedExceptionBase exception and set on the AssetCatalogOMASAPIResponse corresponding HTTP code

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExceptionHandler

      public ExceptionHandler()
  • Method Details

    • captureOMRSCheckedExceptionBase

      public void captureOMRSCheckedExceptionBase(org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse response, org.odpi.openmetadata.repositoryservices.ffdc.exception.OMRSCheckedExceptionBase e)
      Capture the OMRSCheckedExceptionBase exception and set on the AssetCatalogOMASAPIResponse corresponding HTTP code
      Parameters:
      response - - AssetCatalogOMASAPIResponse response
      e - - OMRSCheckedExceptionBase exception
    • captureAssetCatalogException

      public void captureAssetCatalogException(org.odpi.openmetadata.accessservices.assetcatalog.model.rest.responses.AssetCatalogOMASAPIResponse response, org.odpi.openmetadata.accessservices.assetcatalog.exception.AssetCatalogException e)
      Capture the AssetCatalogException and set on the AssetCatalogOMASAPIResponse corresponding HTTP code
      Parameters:
      response - AssetCatalogOMASAPIResponse
      e - AssetCatalogException exception