Class RuntimeExceptionMapper

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

    @Provider
    public class RuntimeExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
    • Constructor Detail

      • RuntimeExceptionMapper

        public RuntimeExceptionMapper()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(RuntimeException exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<RuntimeException>