CSVException (Apache Commons CSV 1.14.1 API)
Description: declaration: package: org.apache.commons.csv, class: CSVException

Package org.apache.commons.csv

# Class CSVException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.csv.CSVException

All Implemented Interfaces:
  `Serializable`

public class CSVException extends IOException
Signals a CSV exception. For example, this exception is thrown when parsing invalid input.

Since:
  1.12.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CSVException(String format, Object... args)`
  Constructs a new instance with a formatted message.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CSVException

    public CSVException(String format, Object... args)
    Constructs a new instance with a formatted message.
    Parameters:
      `format` - A `Formatter` format string.
      `args` - See `String.format(String, Object...)`.
    Throws:
      `IllegalFormatException` - See `String.format(String, Object...)`.