NEXUS CLASS LIBRARY home | classes | functions

Class NxsException

Data Members

col, line, msg, pos

Member Functions

NxsException, NxsException

Class Description

Exception class that conveys a message specific to the problem encountered.

Key to symbols and colors

public, protected, private, A = abstract, C = constructor, D = destructor, I = inline, S = static, V = virtual, F = friend

 

Data Members
     long   col
       
column of current line
     long   line
       
current line in file
     NxsString   msg
       
NxsString to hold message
     file_pos   pos
       
current file position

 

Member Functions
C     NxsException(NxsString s, file_pos fp, long fl, long fc)
       
Copies 's' to msg and sets line, col and pos to the current line, column and position in the file where parsing stopped.
C     NxsException(const NxsString &s, const NxsToken &t)
       
Creates a NxsException object with the specified message, getting file position information from the NxsToken.