All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opengamma.strata.pricer.PricingException Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.pricer;

/**
 * Exception thrown when pricing fails.
 */
public final class PricingException
    extends RuntimeException {

  /** Serialization version. */
  private static final long serialVersionUID = 1L;

  /**
   * Creates an instance based on a message.
   * 
   * @param message  the message, null tolerant
   */
  public PricingException(String message) {
    super(message);
  }

  /**
   * Creates an instance based on a message and cause.
   * 
   * @param message  the message, null tolerant
   * @param cause  the cause, null tolerant
   */
  public PricingException(String message, Throwable cause) {
    super(message, cause);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy