Search in sources :

Example 1 with RestErrorHandler

use of org.androidannotations.rest.spring.api.RestErrorHandler in project androidannotations by androidannotations.

the class RestHolder method setRestErrorHandlerField.

private void setRestErrorHandlerField() {
    AbstractJClass restErrorHandlerClass = getJClass(RestErrorHandler.class.getName());
    restErrorHandlerField = getGeneratedClass().field(JMod.PRIVATE, restErrorHandlerClass, "restErrorHandler");
}
Also used : RestErrorHandler(org.androidannotations.rest.spring.api.RestErrorHandler) AbstractJClass(com.helger.jcodemodel.AbstractJClass)

Aggregations

AbstractJClass (com.helger.jcodemodel.AbstractJClass)1 RestErrorHandler (org.androidannotations.rest.spring.api.RestErrorHandler)1