Examples of ViewDefinitionCompilationFailedCall


Examples of com.opengamma.engine.view.listener.ViewDefinitionCompilationFailedCall

    send(new ViewDefinitionCompiledCall(compiledViewDefinition, hasMarketDataPermissions));
 

  @Override
  public void viewDefinitionCompilationFailed(Instant valuationTime, Exception exception) {
    send(new ViewDefinitionCompilationFailedCall(valuationTime, exception));
  }
View Full Code Here

Examples of com.opengamma.engine.view.listener.ViewDefinitionCompilationFailedCall

  public void assertViewDefinitionCompilationFailed(long timeoutMillis) {
    assertViewDefinitionCompilationFailed(timeoutMillis, null);
  }

  public void assertViewDefinitionCompilationFailed(long timeoutMillis, String exceptionMessage) {
    ViewDefinitionCompilationFailedCall call;
    try {
      call = getViewDefinitionCompilationFailed(timeoutMillis);
    } catch (Exception e) {
      throw new AssertionError("Expected viewDefinitionCompilationFailed call error: " + e.getMessage());
    }
    if (exceptionMessage != null) {
      assertEquals(exceptionMessage, call.getException().getMessage());
    }
  }
View Full Code Here

Examples of com.opengamma.engine.view.listener.ViewDefinitionCompilationFailedCall

    callReceived(new ViewDefinitionCompiledCall(compiledViewDefinition, hasMarketDataPermissions));
  }

  @Override
  public void viewDefinitionCompilationFailed(Instant valuationTime, Exception exception) {
    callReceived(new ViewDefinitionCompilationFailedCall(valuationTime, exception));
  }
View Full Code Here

Examples of com.opengamma.engine.view.listener.ViewDefinitionCompilationFailedCall

    _mergerLock.lock();
    try {
      if (isPassThrough()) {
        getUnderlying().viewDefinitionCompilationFailed(valuationTime, exception);
      } else {
        _callQueue.add(new ViewDefinitionCompilationFailedCall(valuationTime, exception));
      }
    } finally {
      _mergerLock.unlock();
    }
  }
View Full Code Here

Examples of com.opengamma.engine.view.listener.ViewDefinitionCompilationFailedCall

  @Override
  public ViewDefinitionCompilationFailedCall buildObject(FudgeDeserializer deserializer, FudgeMsg msg) {
    Instant valuationTime = deserializer.fieldValueToObject(Instant.class, msg.getByName(VALUATION_TIME_FIELD));
    Exception exception = deserializer.fieldValueToObject(Exception.class, msg.getByName(EXCEPTION_FIELD));
    return new ViewDefinitionCompilationFailedCall(valuationTime, exception);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.