Exemple #1
0
 internal ElaCodeException(string message, ElaRuntimeError error, ModuleFileInfo file, int line, int col,
                           IEnumerable <CallFrame> callStack, ElaError errObj, Exception innerException)
     : base(message, innerException)
 {
     Error       = new ElaMessage(message, MessageType.Error, (Int32)error, line, col);
     Error.File  = file;
     CallStack   = callStack;
     ErrorObject = errObj;
 }
Exemple #2
0
 internal ElaCodeException(string message, ElaRuntimeError error, FileInfo file, int line, int col,
     IEnumerable<CallFrame> callStack, ElaError errObj, Exception innerException)
     : base(message, innerException)
 {
     Error = new ElaMessage(message, MessageType.Error, (Int32)error, line, col);
     Error.File = file;
     CallStack = callStack;
     ErrorObject = errObj;
 }