Mercury library  1.0
Translation of CFG grammars into an object model (Bachelor's thesis).
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | List of all members
Mercury.Exceptions.SyntaxException Class Reference

An exception thrown when something wrong happens in the Mercury.Syntax More...

Inheritance diagram for Mercury.Exceptions.SyntaxException:
Mercury.Exceptions.MercuryException Mercury.Exceptions.InvalidEdgeException Mercury.Exceptions.InvalidRuleException Mercury.Exceptions.InvalidSymbolException

Public Member Functions

 SyntaxException ()
 Initializes a new instance of the SyntaxException class. More...
 
 SyntaxException (string message)
 Initializes a new instance of the SyntaxException class with a message that describes the error. More...
 
 SyntaxException (string message, Exception inner)
 Initializes a new instance of the SyntaxException class. More...
 
- Public Member Functions inherited from Mercury.Exceptions.MercuryException
 MercuryException ()
 Initializes a new instance of the MercuryException class. More...
 
 MercuryException (string message)
 Initializes a new instance of the MercuryException class with a specified error message. More...
 
 MercuryException (string message, Exception inner)
 Initializes a new instance of the MercuryException class with a specified error message and an exception that caused the problem. More...
 

Protected Member Functions

 SyntaxException (SerializationInfo info, StreamingContext context)
 Initializes a new instance of the SyntaxException class. More...
 
- Protected Member Functions inherited from Mercury.Exceptions.MercuryException
 MercuryException (SerializationInfo info, StreamingContext context)
 Initializes a new instance of the MercuryException class with serialized data. More...
 

Detailed Description

An exception thrown when something wrong happens in the Mercury.Syntax

Definition at line 14 of file SyntaxExceptions.cs.

Constructor & Destructor Documentation

Mercury.Exceptions.SyntaxException.SyntaxException ( )

Initializes a new instance of the SyntaxException class.

Definition at line 20 of file SyntaxExceptions.cs.

Mercury.Exceptions.SyntaxException.SyntaxException ( string  message)

Initializes a new instance of the SyntaxException class with a message that describes the error.

Parameters
messageThe message that describes the error.

Definition at line 28 of file SyntaxExceptions.cs.

Mercury.Exceptions.SyntaxException.SyntaxException ( string  message,
Exception  inner 
)

Initializes a new instance of the SyntaxException class.

Parameters
messageThe message that describes the error.
innerThe exception that caused the problem.

Definition at line 37 of file SyntaxExceptions.cs.

Mercury.Exceptions.SyntaxException.SyntaxException ( SerializationInfo  info,
StreamingContext  context 
)
protected

Initializes a new instance of the SyntaxException class.

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

Definition at line 51 of file SyntaxExceptions.cs.


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