BadScript 2
Loading...
Searching...
No Matches
BadScript2.Reader.BadSourceReaderException Class Reference

Gets Raised if the Reader encounters an Error. More...

Inheritance diagram for BadScript2.Reader.BadSourceReaderException:
BadScript2.Common.BadParseException BadScript2.Common.BadScriptException

Public Member Functions

 BadSourceReaderException (string message, BadSourcePosition position)
 Creates a new BadSourceReaderException.
 
 BadSourceReaderException (string message, BadSourcePosition position, Exception inner)
 Creates a new BadSourceReaderException.
 

Additional Inherited Members

- Protected Member Functions inherited from BadScript2.Common.BadParseException
 BadParseException (string message, BadSourcePosition position)
 Constructor for the BadParseException.
 
 BadParseException (string message, BadSourcePosition position, Exception inner)
 Constructor for the BadParseException.
 
- Protected Member Functions inherited from BadScript2.Common.BadScriptException
 BadScriptException (string message)
 
 BadScriptException (string message, string originalMessage)
 
 BadScriptException (string message, string originalMessage, Exception inner)
 
 BadScriptException (string message, string originalMessage, BadSourcePosition position)
 
 BadScriptException (string message, string originalMessage, BadSourcePosition position, Exception inner)
 
- Properties inherited from BadScript2.Common.BadScriptException
string OriginalMessage [get]
 The Original Error Message.
 
BadSourcePositionPosition [get]
 The source position of where the error occurred.
 

Detailed Description

Gets Raised if the Reader encounters an Error.

Definition at line 8 of file BadSourceReaderException.cs.

Constructor & Destructor Documentation

◆ BadSourceReaderException() [1/2]

BadScript2.Reader.BadSourceReaderException.BadSourceReaderException ( string  message,
BadSourcePosition  position 
)

Creates a new BadSourceReaderException.

Parameters
messageThe Exception Message
positionThe Source Position of the Error

Definition at line 15 of file BadSourceReaderException.cs.

15: base(message, position) { }

◆ BadSourceReaderException() [2/2]

BadScript2.Reader.BadSourceReaderException.BadSourceReaderException ( string  message,
BadSourcePosition  position,
Exception  inner 
)

Creates a new BadSourceReaderException.

Parameters
messageThe Exception Message
positionThe Source Position of the Error
innerThe Inner Exception

Definition at line 24 of file BadSourceReaderException.cs.

24 : base(
25 message,
26 position,
27 inner
28 ) { }

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