Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException Class Reference

Exception thrown when an error occurs while parsing a configuration card. More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException:
Summer.Batch.Extra.Sort.SortException

Public Member Functions

 ParsingException (string message)
 Constructs a new ParsingException with a message but no parsed string or index. More...
 
 ParsingException (string message, string parsedString, int index)
 Constructs a new ParsingException with a message, a parsed string, and an index. More...
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 Sets the SerializationInfo with information about the exception. More...
 
- Public Member Functions inherited from Summer.Batch.Extra.Sort.SortException
 SortException (string message)
 Constructs a new SortException with a message. More...
 

Protected Member Functions

 ParsingException (SerializationInfo info, StreamingContext context)
 Constructor for deserialization. More...
 
- Protected Member Functions inherited from Summer.Batch.Extra.Sort.SortException
 SortException (SerializationInfo info, StreamingContext context)
 Constructor for deserialization. More...
 

Properties

string ParsedString [get]
 The parsed string. More...
 
int Index [get]
 The index in the parsed string where the error occured. More...
 

Detailed Description

Exception thrown when an error occurs while parsing a configuration card.

Constructor & Destructor Documentation

Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.ParsingException ( string  message)

Constructs a new ParsingException with a message but no parsed string or index.

Parameters
messagethe error message
Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.ParsingException ( SerializationInfo  info,
StreamingContext  context 
)
protected

Constructor for deserialization.

Parameters
infothe info holding the serialization data
contextthe serialization context
Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.ParsingException ( string  message,
string  parsedString,
int  index 
)

Constructs a new ParsingException with a message, a parsed string, and an index.

Parameters
messagethe error message
parsedStringthe parsed string
indexan index in the parsed string

Member Function Documentation

override void Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Sets the SerializationInfo with information about the exception.

Parameters
infoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextThe StreamingContext that contains contextual information about the source or destination.

Property Documentation

int Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.Index
get

The index in the parsed string where the error occured.

string Summer.Batch.Extra.Sort.Legacy.Parser.ParsingException.ParsedString
get

The parsed string.


The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Sort/Legacy/Parser/ParsingException.cs