Exceptions
Class NoAnalyticPriceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byExceptions.NoAnalyticPriceException
All Implemented Interfaces:
java.io.Serializable

public class NoAnalyticPriceException
extends java.lang.Exception

Thrown if Option.discountedAnalyticPrice(int t) or Option.analyticDelta(int t) is called no analytic formula for price at time t of this option is implemented.

See Also:
Serialized Form

Constructor Summary
NoAnalyticPriceException()
          Creates a new instance of NoAnalyticPriceException without detailed message.
NoAnalyticPriceException(java.lang.String msg)
          Constructs an instance of NoAnalyticPriceException with the specified detailed message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoAnalyticPriceException

public NoAnalyticPriceException()
Creates a new instance of NoAnalyticPriceException without detailed message.


NoAnalyticPriceException

public NoAnalyticPriceException(java.lang.String msg)

Constructs an instance of NoAnalyticPriceException with the specified detailed message.

Parameters:
msg - The detailed message.