Class ConfigurationException

All Implemented Interfaces:
QuantFinException, Serializable

public class ConfigurationException extends IllegalArgumentException implements QuantFinException
A configuration that is syntactically wrong or names a value outside its allowed range: an unknown or repeated key in a limits file, a price collar above 100 %, a non-positive order-size cap.

Extends IllegalArgumentException, which these sites threw before 2.1, so existing handlers still catch it.

See Also:
  • Constructor Details

    • ConfigurationException

      public ConfigurationException(String message)
      Creates the exception.
      Parameters:
      message - which setting is wrong and why
    • ConfigurationException

      public ConfigurationException(String message, Throwable cause)
      Creates the exception with the parse failure that caused it.
      Parameters:
      message - which setting is wrong and why
      cause - the underlying parse failure