IniLikeReadException

Exception thrown on the file read error.

Constructors

this
this(string msg, size_t lineNumber, string fileName, IniLikeEntryException entryException, string file, size_t line, Throwable next)

Create IniLikeReadException with msg, lineNumber and fileName.

Members

Functions

entryException
IniLikeEntryException entryException()

Original IniLikeEntryException which caused this error. This will have the same msg.

fileName
string fileName()

Name of ini-like file where error occured. Can be empty if fileName was not given upon IniLikeFile creating. Don't confuse with file property of Throwable.

lineIndex
size_t lineIndex()

Number of line in the file where the exception occured, starting from 0. Don't confuse with line property of Throwable.

lineNumber
size_t lineNumber()

Number of line in the file where the exception occured, starting from 1. 0 means that error is not bound to any existing line, but instead relate to file at whole (e.g. required group or key is missing). Don't confuse with line property of Throwable.

Meta