code: @Override
  	public Response diagnoseInstance( String applicationName, String instancePath ) {
  
  		this.logger.fine( "Request: create a diagnostic for " + instancePath + " in application " + applicationName );
  		final Application application = this.manager.applicationMngr().findApplicationByName( applicationName );
  		String lang = lang( this.manager );
  
  		final Instance instance;
  		final Response response;
  
  		if( application == null )
  			response = handleError( Status.NOT_FOUND, new RestError( REST_INEXISTING, application( applicationName )), lang ).build();
  		else if(( instance = InstanceHelpers.findInstanceByPath( application, instancePath )) == null )
  			response = handleError( Status.NOT_FOUND, new RestError( REST_INEXISTING, instance( instancePath ), application( applicationName )), lang ).build();
  		else
  			response = Response.status( Status.OK ).entity( createDiagnostic( instance )).build();
  
  		return response;
  	}
docs: /* (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IDebugResource
  #diagnoseInstance(java.lang.String)