public ApiResponse handleApiView(String name,JSONObject params) throws ApiException {
  throw new ApiException(ApiException.Type.BAD_VIEW,name);
}

public ApiResponse handleApiView ( String name , JSONObject params ) throws ApiException { throw new ApiException ( ApiException . Type . BAD_VIEW , name ) ; }
override if implementing one or more views
