The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
ErrorManagement.OperationNotAllowedError Class Reference

Represents a error produced when tries to make an operation not allowed for the specified type. More...

Inheritance diagram for ErrorManagement.OperationNotAllowedError:
ErrorManagement.ErrorAdapter ErrorManagement.IError

Public Member Functions

 OperationNotAllowedError (string operation, string op1, string op2, Location loc)
 Constructor of OperationNotAllowedError More...
 
 OperationNotAllowedError (string operation, string te, Location loc)
 Constructor of OperationNotAllowedError More...
 
- Public Member Functions inherited from ErrorManagement.ErrorAdapter
 ErrorAdapter (Location location)
 
 ErrorAdapter ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Additional Inherited Members

- Protected Attributes inherited from ErrorManagement.ErrorAdapter
Location location
 
- Properties inherited from ErrorManagement.ErrorAdapter
Location Location [get]
 
string ErrorType [get]
 Gets the name for the error type. More...
 
string Description [get, set]
 Gets the description for the error type. More...
 
- Properties inherited from ErrorManagement.IError
string ErrorType [get]
 Gets the name for the error type. More...
 
string Description [get]
 Gets the description for the error type. More...
 

Detailed Description

Represents a error produced when tries to make an operation not allowed for the specified type.

Definition at line 27 of file OperationNotAllowedError.cs.

Constructor & Destructor Documentation

ErrorManagement.OperationNotAllowedError.OperationNotAllowedError ( string  operation,
string  op1,
string  op2,
Location  loc 
)

Constructor of OperationNotAllowedError

Parameters
op1WriteType idenfifier of first operand.
op2WriteType identifier of second operand.
fileNameFile name.
lineLine number.
columnColumn number.

Definition at line 38 of file OperationNotAllowedError.cs.

ErrorManagement.OperationNotAllowedError.OperationNotAllowedError ( string  operation,
string  te,
Location  loc 
)

Constructor of OperationNotAllowedError

Parameters
operationThe operation to be applied.
op2WriteType identifier of operand.
fileNameFile name.
lineLine number.
columnColumn number.

Definition at line 54 of file OperationNotAllowedError.cs.


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