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

Public Member Functions | Static Public Attributes | List of all members
cogitant.base.ExceptionXml Class Reference

Exception thrown when an error is found in a XML stream. More...

+ Inheritance diagram for cogitant.base.ExceptionXml:

Public Member Functions

 ExceptionXml (int code, String streamname, long line, String msg)
 
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 ()
 

Static Public Attributes

static final int CLOSE_WITHOUT_OPEN = 101
 
static final int WRONG_CLOSE = 102
 
static final int TEXT_OUTSIDE_ELEMENT = 103
 
static final int PREMATURE_EOF = 104
 
static final int UNKNOWN_ENTITY = 105
 
static final int TWO_ROOTS = 106
 
static final int WRONG_DOCTYPEDECLARATION_PARENT = 107
 
static final int WRONG_DOCTYPEDECLARATION = 108
 
static final int WRONG_ENTITYDECLARATION = 109
 
static final int UNKNOWN_FORMAT = 120
 
static final int INVALID_DOCUMENT = 121
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from cogitant.base.Exception
String messageAsIdToString ()
 Considers message as an id (iSet) and converts as String. More...
 
- Protected Attributes inherited from cogitant.base.ExceptionIO
String m_streamname
 
long m_line
 

Detailed Description

Exception thrown when an error is found in a XML stream.

Constructor & Destructor Documentation

◆ ExceptionXml()

cogitant.base.ExceptionXml.ExceptionXml ( int  code,
String  streamname,
long  line,
String  msg 
)

Member Function Documentation

◆ toString()

String cogitant.base.ExceptionXml.toString ( )

Member Data Documentation

◆ CLOSE_WITHOUT_OPEN

final int cogitant.base.ExceptionXml.CLOSE_WITHOUT_OPEN = 101
static

◆ INVALID_DOCUMENT

final int cogitant.base.ExceptionXml.INVALID_DOCUMENT = 121
static

◆ PREMATURE_EOF

final int cogitant.base.ExceptionXml.PREMATURE_EOF = 104
static

◆ TEXT_OUTSIDE_ELEMENT

final int cogitant.base.ExceptionXml.TEXT_OUTSIDE_ELEMENT = 103
static

◆ TWO_ROOTS

final int cogitant.base.ExceptionXml.TWO_ROOTS = 106
static

◆ UNKNOWN_ENTITY

final int cogitant.base.ExceptionXml.UNKNOWN_ENTITY = 105
static

◆ UNKNOWN_FORMAT

final int cogitant.base.ExceptionXml.UNKNOWN_FORMAT = 120
static

◆ WRONG_CLOSE

final int cogitant.base.ExceptionXml.WRONG_CLOSE = 102
static

◆ WRONG_DOCTYPEDECLARATION

final int cogitant.base.ExceptionXml.WRONG_DOCTYPEDECLARATION = 108
static

◆ WRONG_DOCTYPEDECLARATION_PARENT

final int cogitant.base.ExceptionXml.WRONG_DOCTYPEDECLARATION_PARENT = 107
static

◆ WRONG_ENTITYDECLARATION

final int cogitant.base.ExceptionXml.WRONG_ENTITYDECLARATION = 109
static