Class IllegalArgumentExceptionMapper

java.lang.Object
ru.i_novus.ms.rdm.api.provider.IllegalArgumentExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.lang.IllegalArgumentException>, net.n2oapp.platform.jaxrs.RestExceptionMapper<java.lang.IllegalArgumentException>

@Provider
public class IllegalArgumentExceptionMapper
extends java.lang.Object
implements net.n2oapp.platform.jaxrs.RestExceptionMapper<java.lang.IllegalArgumentException>
  • Constructor Summary

    Constructors 
    Constructor Description
    IllegalArgumentExceptionMapper​(net.n2oapp.platform.i18n.Messages messages)  
  • Method Summary

    Modifier and Type Method Description
    javax.ws.rs.core.Response.Status getStatus()  
    net.n2oapp.platform.jaxrs.RestMessage toMessage​(java.lang.IllegalArgumentException e)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.n2oapp.platform.jaxrs.RestExceptionMapper

    toResponse
  • Constructor Details

  • Method Details

    • toMessage

      public net.n2oapp.platform.jaxrs.RestMessage toMessage​(java.lang.IllegalArgumentException e)
      Specified by:
      toMessage in interface net.n2oapp.platform.jaxrs.RestExceptionMapper<java.lang.IllegalArgumentException>
    • getStatus

      public javax.ws.rs.core.Response.Status getStatus()
      Specified by:
      getStatus in interface net.n2oapp.platform.jaxrs.RestExceptionMapper<java.lang.IllegalArgumentException>