Public Member Functions | Static Public Attributes

cogitant.base.ExceptionXml Class Reference

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

Inheritance diagram for cogitant.base.ExceptionXml:

List of all members.

Public Member Functions

 ExceptionXml (int code, String streamname, long line, String msg)
String toString ()

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

Detailed Description

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


Constructor & Destructor Documentation

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

Member Function Documentation

String cogitant.base.ExceptionXml.toString ( )

Member Data Documentation

final int cogitant.base.ExceptionXml.PREMATURE_EOF = 104 [static]
final int cogitant.base.ExceptionXml.TWO_ROOTS = 106 [static]
final int cogitant.base.ExceptionXml.WRONG_CLOSE = 102 [static]