Class RegistryExceptionMapper

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

    @ApplicationScoped
    @Provider
    public class RegistryExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<Throwable>
    TODO use v1 beans when appropriate (when handling REST API v1 calls)
    Author:
    eric.wittmann@gmail.com, Ales Justin, Jakub Senko 'jsenko@redhat.com'
    • Constructor Detail

      • RegistryExceptionMapper

        public RegistryExceptionMapper()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(Throwable t)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
        See Also:
        ExceptionMapper.toResponse(java.lang.Throwable)