Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.quantfinlib.core.ConfigurationException
- All Implemented Interfaces:
QuantFinException, Serializable
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 Summary
ConstructorsConstructorDescriptionConfigurationException(String message) Creates the exception.ConfigurationException(String message, Throwable cause) Creates the exception with the parse failure that caused it. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface QuantFinException
getMessage
-
Constructor Details
-
ConfigurationException
Creates the exception.- Parameters:
message- which setting is wrong and why
-
ConfigurationException
-