Class CatalogGenericExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<Throwable>

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

      • CatalogGenericExceptionMapper

        public CatalogGenericExceptionMapper()
    • Method Detail

      • toResponse

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

        protected void throwException​(Throwable exception)
      • throwException

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

        protected String formatLogMessage​(long id)