Quick links: Examples - Files.
Classes: Hierarchy - Index - List - Members.
Packages: Index - base - jni.

Public Member Functions | Protected Attributes | List of all members
cogitant.base.ExceptionInputLexeme Class Reference

Exception thrown when a lexeme is found whereas it is forbidden. More...

+ Inheritance diagram for cogitant.base.ExceptionInputLexeme:

Public Member Functions

 ExceptionInputLexeme (String streamname, long line, String found, Collection< String > expected)
 
String found ()
 
Collection< String > expected ()
 
String toString ()
 
- Public Member Functions inherited from cogitant.base.ExceptionIO
 ExceptionIO (int code, String streamname, long line, String what)
 
String streamname ()
 
long line ()
 
String toString ()
 
- Public Member Functions inherited from cogitant.base.Exception
 Exception (int code, String message)
 
int code ()
 
String toString ()
 
String what ()
 
String className ()
 

Protected Attributes

String m_found
 
Collection< String > m_expected
 
- Protected Attributes inherited from cogitant.base.ExceptionIO
String m_streamname
 
long m_line
 

Additional Inherited Members

- Static Public Attributes inherited from cogitant.base.ExceptionIO
static final int NOTYPE =0
 
static final int OPEN =1
 
static final int CREATE =2
 
static final int READ =3
 
static final int WRITE =4
 
static final int FORMAT =5
 
static final int HEADER =6
 
static final int CONNECT =7
 
static final int ENDOFSTREAM =8
 
static final int CHECK =9
 
- Protected Member Functions inherited from cogitant.base.Exception
String messageAsIdToString ()
 Considers message as an id (iSet) and converts as String. More...
 

Detailed Description

Exception thrown when a lexeme is found whereas it is forbidden.

Constructor & Destructor Documentation

◆ ExceptionInputLexeme()

cogitant.base.ExceptionInputLexeme.ExceptionInputLexeme ( String  streamname,
long  line,
String  found,
Collection< String >  expected 
)

Member Function Documentation

◆ expected()

Collection<String> cogitant.base.ExceptionInputLexeme.expected ( )

◆ found()

String cogitant.base.ExceptionInputLexeme.found ( )

◆ toString()

String cogitant.base.ExceptionInputLexeme.toString ( )

Member Data Documentation

◆ m_expected

Collection<String> cogitant.base.ExceptionInputLexeme.m_expected
protected

◆ m_found

String cogitant.base.ExceptionInputLexeme.m_found
protected