Class EntityNotFoundExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<ubic.gemma.core.association.phenotype.EntityNotFoundException>

    @Provider
    @Deprecated
    public class EntityNotFoundExceptionMapper
    extends AbstractExceptionMapper<ubic.gemma.core.association.phenotype.EntityNotFoundException>
    Deprecated.
    Map EntityNotFoundException to a response containing a JSON error object.
    • Constructor Detail

      • EntityNotFoundExceptionMapper

        public EntityNotFoundExceptionMapper()
        Deprecated.
    • Method Detail

      • getStatus

        protected javax.ws.rs.core.Response.Status getStatus​(ubic.gemma.core.association.phenotype.EntityNotFoundException exception)
        Deprecated.
        Description copied from class: AbstractExceptionMapper
        Translate the exception to an HTTP Response.Status.
        Specified by:
        getStatus in class AbstractExceptionMapper<ubic.gemma.core.association.phenotype.EntityNotFoundException>