Class CatalogGenericExceptionMapper

java.lang.Object
org.openmetadata.service.exception.CatalogGenericExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

public class CatalogGenericExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
  • Constructor Details

    • CatalogGenericExceptionMapper

      public CatalogGenericExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(Throwable ex)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
    • getResponse

      public javax.ws.rs.core.Response getResponse(javax.ws.rs.core.Response response, Throwable ex)
    • getResponse

      public javax.ws.rs.core.Response getResponse(javax.ws.rs.core.Response.Status status, String message)
    • throwException

      protected void throwException(Throwable exception)
    • throwException

      protected void throwException(long id, Throwable exception)
    • formatLogMessage

      protected String formatLogMessage(long id)