Class MalformedDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.quantfinlib.core.MalformedDataException
- All Implemented Interfaces:
QuantFinException, Serializable
A data file or text record that does not follow its format: a CSV with no
header or missing required columns, a universe file line with the wrong
column count, an unparseable timestamp. The message names the line where
the loader knows it.
Extends IllegalArgumentException, which these sites threw
before 2.1, so existing handlers still catch it.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMalformedDataException(String message) Creates the exception.MalformedDataException(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
-
MalformedDataException
Creates the exception.- Parameters:
message- what was malformed, and where
-
MalformedDataException
-