Description
TCustomTagParser's exceptions are simple and to the point. It's important to remember that if the OnException event is assigned, the exception is returned to the OnException event instead of being raised to the application. The only time this doesn't hold true is when Assigning the various element types (TTagElement, TTextElement, etc).


Exception
Message
STRING_IS_EMPTY
The string is empty *
BUFFER_IS_NIL
The buffer is nil *
BUFFER_IS_EMPTY
The buffer is empty *
POINTER_IS_NIL
The pointer is nil *
POINTER_IS_ZERO
ParsePointer count is zero or less *
STREAM_IS_NIL
The work stream is nil **
STREAM_ERROR
General stream parsing error **
STREAM_ZERO_LENGTH
Zero length stream **
FILE_NOT_FOUND
Specified file was not found *
FILE_OPEN_ERROR
Unspecified error occured while opening file *


* Exceptions related to loading/parsing
** Exceptions related to parsing ATagParser's Content property





Copyright 2000 - 2006 John E McTaggart - All rights reserved worldwide