Class MalformedDataException

All Implemented Interfaces:
QuantFinException, Serializable

public class MalformedDataException extends IllegalArgumentException implements QuantFinException
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 Details

    • MalformedDataException

      public MalformedDataException(String message)
      Creates the exception.
      Parameters:
      message - what was malformed, and where
    • MalformedDataException

      public MalformedDataException(String message, Throwable cause)
      Creates the exception with the parse failure that caused it.
      Parameters:
      message - what was malformed, and where
      cause - the underlying parse failure