Class ServiceExceptionMapper

    • Constructor Detail

      • ServiceExceptionMapper

        public ServiceExceptionMapper()
    • Method Detail

      • toResponse

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

        protected abstract void _annotateThisClassWithProvider()
        This method exists to remind developers that they need to annotate the implementing class with jersey's javax.ws.rs.ext.Provider annotation. The implementing class will also need to be placed in the package that is scanned by the atlassian-rest for rest modules.