textwolf  0.2
Public Types | List of all members
textwolf::throws_exception Class Reference

Base class for structures that can throw exceptions for non recoverable errors. More...

#include <exception.hpp>

Inheritance diagram for textwolf::throws_exception:
textwolf::charset::IsoLatinCodePage textwolf::IStreamIterator textwolf::ScannerStatemachine textwolf::SrcIterator textwolf::StaticBuffer textwolf::TagStack textwolf::XmlHdrParser textwolf::XMLPathSelect< CharSet_, StackType_ > textwolf::XMLPathSelectAutomaton< CharSet_ > textwolf::XMLPathSelectAutomaton< CharSet_ >::PathElement textwolf::XMLPathSelectAutomaton< AtmCharSet >

Public Types

enum  Cause {
  Unknown, DimOutOfRange, StateNumbersNotAscending, InvalidParamState,
  InvalidParamChar, DuplicateStateTransition, InvalidState, IllegalParam,
  IllegalAttributeName, OutOfMem, ArrayBoundsReadWrite, NotAllowedOperation,
  FileReadError, IllegalXmlHeader, InvalidTagOffset, CorruptTagStack,
  CodePageIndexNotSupported
}
 Enumeration of error cases. More...
 

Detailed Description

Base class for structures that can throw exceptions for non recoverable errors.

Member Enumeration Documentation

Enumeration of error cases.

Enumerator
Unknown 

uknown error

DimOutOfRange 

memory reserved for statically allocated table or memory block is too small. Increase the size of memory block passed to the XML path select automaton. Usage error

StateNumbersNotAscending 

XML scanner automaton definition check failed. Labels of states must be equal to their indices. Internal textwolf error.

InvalidParamState 

parameter check (for state) in automaton definition failed. Internal textwolf error

InvalidParamChar 

parameter check (for control character) in automaton definition failed. Internal textwolf error

DuplicateStateTransition 

duplicate transition definition in automaton. Internal textwolf error

InvalidState 

invalid state definition in automaton. Internal textwolf error

IllegalParam 

parameter check in automaton definition failed. Internal textwolf error

IllegalAttributeName 

invalid string for a tag or attribute in the automaton definition. Usage error

OutOfMem 

out of memory in the automaton definition. System error (std::bad_alloc)

ArrayBoundsReadWrite 

invalid array access. Internal textwolf error

NotAllowedOperation 

defining an operation in an automaton definition that is not allowed there. Usage error

FileReadError 

error reading a file. System error

IllegalXmlHeader 

illegal XML header (more than 4 null bytes in a row). Usage error

InvalidTagOffset 

internal error in the tag stack. Internal textwolf error

CorruptTagStack 

currupted tag stack. Internal textwolf error

CodePageIndexNotSupported 

the index of the code page specified for a character set encoding is unknown to textwolf. Usage error


The documentation for this class was generated from the following file: